UsagePlan.fromJson constructor 
    
      
      UsagePlan.fromJson(
 - Map<String, dynamic> json
) 
    
    
  Implementation
  factory UsagePlan.fromJson(Map<String, dynamic> json) {
  return UsagePlan(
    apiStages: (json['apiStages'] as List?)
        ?.whereNotNull()
        .map((e) => ApiStage.fromJson(e as Map<String, dynamic>))
        .toList(),
    description: json['description'] as String?,
    id: json['id'] as String?,
    name: json['name'] as String?,
    productCode: json['productCode'] as String?,
    quota: json['quota'] != null
        ? QuotaSettings.fromJson(json['quota'] as Map<String, dynamic>)
        : null,
    tags: (json['tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    throttle: json['throttle'] != null
        ? ThrottleSettings.fromJson(json['throttle'] as Map<String, dynamic>)
        : null,
  );
}