Taxi Booking in Flutter - LocationModel dart file
Create a file named as 'locationmodel.dart' in lib -> models folder and paste following code:
Please, support my blog by clicking on our sponsors ad!
import 'package:myfirstproject/models/AreaSpotModel.dart';
class LocationModel
{
late final String Name;
late final String Img ;
late final String Distance;
late final String Rate;
late final String Address;
late final String Spot1;
late final String Spot2;
LocationModel({
required this.Name,required this.Img,required this.Distance, required this.Rate, required this.Address, required this.Spot1,required this.Spot2});
}
Comments
Post a Comment