QuickbooksEffectiveTaxRate.fromMap constructor
Implementation
factory QuickbooksEffectiveTaxRate.fromMap(Map<String, dynamic> map) {
return QuickbooksEffectiveTaxRate(
rateValue: double.tryParse(map['RateValue'].toString()),
endDate: map['EndDate'] != null
? DateTime.parse(map['EndDate'].toString())
: null,
effectiveDate: map['EffectiveDate'] != null
? DateTime.parse(map['EffectiveDate'].toString())
: null,
);
}