MBContract class Null safety

Represents a Legal contract in MBurger.

Constructors

MBContract.fromDictionary(Map<String, dynamic> dictionary)
Initializes a contract with the dictionary returned by the MBurger APIs. [...]

Properties

active bool
If the contract is active or not.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
The id of the contract.
final
The link of the contract, if setted.
final
name String
The name of the contract.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String?
The text of the contract.
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