MBUserContractStatus.fromDictionary constructor
Implementation
factory MBUserContractStatus.fromDictionary(Map<String, dynamic> dictionary) {
int id = dictionary['id'] is int ? dictionary['id'] as int : 0;
bool accepted =
dictionary['accepted'] is bool ? dictionary['accepted'] as bool : false;
return MBUserContractStatus(
id: id,
accepted: accepted,
);
}