UsageRecord.fromJson constructor

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

Implementation

UsageRecord.fromJson(Map<String, dynamic> json) : quantity = json['quantity'];