Datum.fromMap constructor
Implementation
factory Datum.fromMap(Map<String, dynamic> data) => Datum(
planid: data['planid'] as String?,
planname: data['planname'] as String?,
plantype: data['plantype'] as String?,
category: data['category'] as String?,
description: data['description'] as dynamic,
planinterval: data['planinterval'] as String?,
planstatus: data['planstatus'] as String?,
trialperioddays: data['trialperioddays'] as int?,
region: data['region'] as String?,
country: data['country'] as List<dynamic>?,
paymentoptions: data['paymentoptions'] as List<dynamic>?,
graceperiod: data['graceperiod'] as int?,
billbeforedays: data['billbeforedays'] as int?,
exclusionlist: data['exclusionlist'] as dynamic,
plantag: data['plantag'] as dynamic,
quality: data['quality'] as String?,
devicelimit: data['devicelimit'] as int?,
concurrencylimit: data['concurrencylimit'] as int?,
availabilityset: data['availabilityset'] as List<dynamic>?,
weight: data['weight'] as int?,
initiatedby: data['initiatedby'] as String?,
updatedby: data['updatedby'] as String?,
updatedon: data['updatedon'] as String?,
created: data['created'] as String?,
picture: data['picture'] as String?,
amount: data['amount'] as int?,
currency: data['currency'] as String?,
);