1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Remove unneeded return (#950)

This commit is contained in:
Ahmed Ashour
2021-11-03 12:12:41 +01:00
committed by GitHub
parent 308c6ff21c
commit 64805fe5b6
3 changed files with 2 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
Mimics a real world use-case of embedding Flutter into an existing Android app Mimics a real world use-case of embedding Flutter into an existing Android app
and demonstrates using [Pigeon](https://pub.dev/packages/pigeon) to communicate and demonstrates using [Pigeon](https://pub.dev/packages/pigeon) to communicate
between Fluter and the host application. between Flutter and the host application.
## Description ## Description

View File

@@ -165,8 +165,6 @@ class HostBookApi {
message: error['message'] as String?, message: error['message'] as String?,
details: error['details'], details: error['details'],
); );
} else {
return;
} }
} }
@@ -190,8 +188,6 @@ class HostBookApi {
message: error['message'] as String?, message: error['message'] as String?,
details: error['details'], details: error['details'],
); );
} else {
return;
} }
} }
} }

View File

@@ -147,7 +147,7 @@ class StubData {
static const reviewStrings = <String>[ static const reviewStrings = <String>[
'My favorite place in Portland. The employees are wonderful and so is the food. I go here at least once a month!', 'My favorite place in Portland. The employees are wonderful and so is the food. I go here at least once a month!',
'Staff was very friendly. Great atmosphere and good music. Would reccommend.', 'Staff was very friendly. Great atmosphere and good music. Would recommend.',
'Best. Place. In. Town. Period.' 'Best. Place. In. Town. Period.'
]; ];
} }