MBImagesElement class Null safety

This class represents a MBurger images element.

Inheritance

Constructors

MBImagesElement({required Map<String, dynamic> dictionary})
Initializes an images 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
images List<MBImage>
The images of the element.
final
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

firstImage() MBImage?
Returns the first image of this element, if the element has no images it returns null.
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