toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'name'] = this.name;
  json[r'account'] = this.account;
  json[r'skin'] = this.skin;
  json[r'x'] = this.x;
  json[r'y'] = this.y;
  json[r'layer'] = this.layer;
  json[r'map_id'] = this.mapId;
  return json;
}