ResourceError.fromJson constructor
Implementation
factory ResourceError.fromJson(Map<String, dynamic> json) {
return ResourceError(
errorCode: (json['ErrorCode'] as String?)?.toFleetErrorCode(),
errorMessage: json['ErrorMessage'] as String?,
errorTimestamp: timeStampFromJson(json['ErrorTimestamp']),
);
}