ResourceQuotaStatus.fromJson constructor
Creates a ResourceQuotaStatus from JSON data.
Implementation
factory ResourceQuotaStatus.fromJson(Map<String, dynamic> json) {
final tempHardJson = json['hard'];
final tempUsedJson = json['used'];
final Map<String, String>? tempHard =
tempHardJson != null ? Map<String, String>.from(tempHardJson) : null;
final Map<String, String>? tempUsed =
tempUsedJson != null ? Map<String, String>.from(tempUsedJson) : null;
return ResourceQuotaStatus(
hard: tempHard,
used: tempUsed,
);
}