ApiStage.fromJson constructor

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

Implementation

factory ApiStage.fromJson(Map<String, dynamic> json) {
  return ApiStage(
    apiId: json['apiId'] as String?,
    stage: json['stage'] as String?,
    throttle: (json['throttle'] as Map<String, dynamic>?)?.map((k, e) =>
        MapEntry(k, ThrottleSettings.fromJson(e as Map<String, dynamic>))),
  );
}