toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'identifier': identifier,
      'mediaType': mediaType,
      'labels': labels.map((l) => l.toMap()).toList(),
      'frameCount': frameCount,
    };