PremiumLimit.fromJson constructor

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

Parse from a json

Implementation

factory PremiumLimit.fromJson(Map<String, dynamic> json) => PremiumLimit(
      type: PremiumLimitType.fromJson(json['type']),
      defaultValue: json['default_value'],
      premiumValue: json['premium_value'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );