EntitlementUsage.fromJson constructor
Implementation
factory EntitlementUsage.fromJson(Map<String, dynamic> json) {
return EntitlementUsage(
consumedValue: json['ConsumedValue'] as String,
name: json['Name'] as String,
unit: (json['Unit'] as String).toEntitlementDataUnit(),
maxCount: json['MaxCount'] as String?,
);
}