toJson method

dynamic toJson()

Implementation

dynamic toJson() {
  return <String, dynamic>{'width': width, 'height': height};
}