toJson method

Map toJson()
override

Implementation

Map toJson() => {
      ...super.toJson(),
      'width': width,
      'height': height,
    };