toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String,dynamic> toJson() {
  Map<String,dynamic> result = {
    "id" : id,
    "name" : name,
    "beacon_id" : beaconId,
    "doom_id" : doomId,
    "floor" : floor
  };
  return result;
}