• This project
    • Loading...
  • Sign in

xt / Flutter-ReserveApp · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Flutter-ReserveApp
  • lib
  • models
  • area.dart
  • OneKey-debug-v1.0.2
    db777d30
    by gaiyaguang
    2020-04-15 09:48:19 +0800  
    Browse Files
area.dart 247 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
///桌位区域
class Area{

  String name;
  int count;

  Area();

  factory Area.fromJson(Map<String,dynamic> json)=>Area()..name=json["name"]..count=json["count"];

  Map<String,dynamic> toJson()=><String,dynamic>{"name":name,"count":count};
}