BillingRecord.fromJson constructor

BillingRecord.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BillingRecord.fromJson(Map<String, dynamic> json) {
  return BillingRecord(
    billDate: timeStampFromJson(json['BillDate']),
    domainName: json['DomainName'] as String?,
    invoiceId: json['InvoiceId'] as String?,
    operation: (json['Operation'] as String?)?.toOperationType(),
    price: json['Price'] as double?,
  );
}