SHARE
TWEET

Untitled

a guest Jan 21st, 2020 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import 'package:materialuibyrey/src/travel/model/travelModel.dart';
  2. class TravelModel {
  3.   final int id;
  4.   final String name;
  5.   final String urlimage;
  6.   final String country;
  7.   final String rating;
  8.   final String title;
  9.   final String description;
  10.   TravelModel(
  11.       {this.id,
  12.       this.name,
  13.       this.urlimage,
  14.       this.country,
  15.       this.rating,
  16.       this.title,
  17.       this.description});
  18. }
  19.  
  20. List<TravelModel> dummyContinent = [
  21.   TravelModel(id: 1, name: "EUROPE", urlimage: "assets/images/europe.jpg"),
  22.   TravelModel(id: 1, name: "AMERICA", urlimage: "assets/images/america.jpg"),
  23.   TravelModel(id: 1, name: "ASIA", urlimage: "assets/images/asia.jpeg"),
  24.   TravelModel(
  25.       id: 1, name: "AUSTRALIA", urlimage: "assets/images/australia.jpg"),
  26.   TravelModel(id: 1, name: "AFRICA", urlimage: "assets/images/africa.jpg"),
  27. ];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top