Remove unneeded `return` (#950)

pull/951/head
Ahmed Ashour 3 years ago committed by GitHub
parent 308c6ff21c
commit 64805fe5b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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;
} }
} }
} }

@ -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.'
]; ];
} }

Loading…
Cancel
Save