CorsErrorStatus.fromJson constructor

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

Implementation

factory CorsErrorStatus.fromJson(Map<String, dynamic> json) {
  return CorsErrorStatus(
    corsError: CorsError.fromJson(json['corsError'] as String),
    failedParameter: json['failedParameter'] as String,
  );
}