MBContract class

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.
no setterinherited
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.
no setterinherited
text → String?
The text of the contract.
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