fromJson method

  1. @override
void fromJson(
  1. Map? map
)
override

Implementation

@override
void fromJson(Map? map) {
  super.fromJson(map);
  width = map!['width'];
  height = map['height'];
}