UsageAllocation.fromJson constructor
Implementation
factory UsageAllocation.fromJson(Map<String, dynamic> json) {
return UsageAllocation(
allocatedUsageQuantity: json['AllocatedUsageQuantity'] as int,
tags: (json['Tags'] as List?)
?.whereNotNull()
.map((e) => Tag.fromJson(e as Map<String, dynamic>))
.toList(),
);
}