EntitlementData.fromJson constructor

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

Implementation

factory EntitlementData.fromJson(Map<String, dynamic> json) {
  return EntitlementData(
    name: json['Name'] as String,
    unit: (json['Unit'] as String).toEntitlementDataUnit(),
    value: json['Value'] as String?,
  );
}