MBBlock class Null safety

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. [...]
read-only, inherited
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.
read-only, inherited
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 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