criado o modelo city_load_model.dart a tela login_load_screen.dart e sync_unit_screen.dart
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import 'city_load_model.dart';
|
||||
|
||||
class ArgsLoadInitModel{
|
||||
String mode;
|
||||
String city;
|
||||
CityLoadModel model;
|
||||
String user;
|
||||
String password;
|
||||
String urlAPI;
|
||||
|
||||
ArgsLoadInitModel({
|
||||
required this.mode,
|
||||
required this.city,
|
||||
required this.model,
|
||||
required this.user,
|
||||
required this.password,
|
||||
required this.urlAPI,
|
||||
|
||||
15
lib/models/city_load_model.dart
Normal file
15
lib/models/city_load_model.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
class CityLoadModel{
|
||||
int codCity;
|
||||
String nameCityApi;
|
||||
String nameCityFront;
|
||||
String codState;
|
||||
int codCityIbge;
|
||||
|
||||
CityLoadModel({
|
||||
required this.codCity,
|
||||
required this.nameCityApi,
|
||||
required this.nameCityFront,
|
||||
required this.codState,
|
||||
required this.codCityIbge,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user