UserError.fromJson constructor
Implementation
factory UserError.fromJson(Map<String, dynamic> json) {
return UserError(
errorCode: (json['ErrorCode'] as String?)?.toErrorCode(),
errorMessage: json['ErrorMessage'] as String?,
userId: json['UserId'] as String?,
);
}