toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = Map<String, dynamic>();
  data['data'] = this.data;
  data['height'] = this.height;
  data['width'] = this.width;
  data.addAll(super.toJson());
  return data;
}