mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-07-14 09:58:50 +08:00
Example for Unit Test (#52)
This commit is contained in:
18
unit_testing/lib/model/location.dart
Normal file
18
unit_testing/lib/model/location.dart
Normal file
@ -0,0 +1,18 @@
|
||||
import 'lat_long.dart';
|
||||
|
||||
class Location {
|
||||
final int id;
|
||||
final String name;
|
||||
final String image;
|
||||
final LatLong latlong;
|
||||
final String country;
|
||||
final String info;
|
||||
Location({
|
||||
this.id,
|
||||
this.name,
|
||||
this.image,
|
||||
this.latlong,
|
||||
this.country,
|
||||
this.info,
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user