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:
@@ -2,7 +2,7 @@
|
||||
|
||||
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
|
||||
between Fluter and the host application.
|
||||
between Flutter and the host application.
|
||||
|
||||
## Description
|
||||
|
||||
|
||||
@@ -165,8 +165,6 @@ class HostBookApi {
|
||||
message: error['message'] as String?,
|
||||
details: error['details'],
|
||||
);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -190,8 +188,6 @@ class HostBookApi {
|
||||
message: error['message'] as String?,
|
||||
details: error['details'],
|
||||
);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ class StubData {
|
||||
|
||||
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!',
|
||||
'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.'
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user