MBMediaElement class Null safety

This class represents a MBurger media element.

Inheritance

Constructors

MBMediaElement({required Map<String, dynamic> dictionary})
Initializes a media element with the dictionary returned by the MBurger APIs. [...]
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The id of the element.
final, inherited
media List<MBMedia>
The media of the element.
read / write
mediaType MBMediaType
The type of media.
read / write
order int
The order of the element.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type MBElementType
The type of the element.
final, inherited

Methods

firstMedia() MBMedia?
The first media of the element if exists, null otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited