QuickbooksDeliveryInfo.fromMap constructor

QuickbooksDeliveryInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory QuickbooksDeliveryInfo.fromMap(Map<String, dynamic> map) {
  return QuickbooksDeliveryInfo(
    deliveryType: map['deliveryType'],
    deliveryTime: DateTime.tryParse(map['deliveryTime'].toString()),
  );
}