mediaType property

String mediaType

Implementation

String get mediaType => _getAttribute<String>(kMediaType, '');
void mediaType=(String? x)

Possible Values:

  • audio

  • background_audio

  • background_image

  • background_video

  • countdown

  • document

  • drama

  • image

  • powerpoint

  • song_video

  • video

pass null to remove key from attributes

Implementation

set mediaType(String? x) => (x == null)
    ? _attributes.remove(kMediaType)
    : _attributes[kMediaType] = x;