toMap method

Map<String, int> toMap()

Implementation

Map<String, int> toMap() {
  return {
    'width': width ?? 0,
    'height': height ?? 0,
    'bitrate': bitrate ?? 0,
  };
}