EnvironmentError.fromJson constructor

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

Implementation

factory EnvironmentError.fromJson(Map<String, dynamic> json) {
  return EnvironmentError(
    errorCode: json['ErrorCode'] as String?,
    message: json['Message'] as String?,
  );
}