StackError.fromJson constructor

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

Implementation

factory StackError.fromJson(Map<String, dynamic> json) {
  return StackError(
    errorCode: (json['ErrorCode'] as String?)?.toStackErrorCode(),
    errorMessage: json['ErrorMessage'] as String?,
  );
}