MBBlock class
This class represent a MBurger Block.
Constructors
-
MBBlock({required int id, required String title, required String subtitle, required int order, required List<
MBSection> sections}) -
Initializes a
MBBlock
with all its data -
MBBlock.fromDictionary(Map<
String, dynamic> dictionary) -
Initializes a block with the dictionary returned by the MBurger APIs.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The id of the block.
final
- order → int
-
The order index of the block.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sections
→ List<
MBSection> -
The sections of the block.
final
- subtitle → String
-
The subtitle of the block.
final
- title → String
-
The title of the block.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited