ResourceNotFoundException.fromJson constructor

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

Implementation

factory ResourceNotFoundException.fromJson(Map<String, dynamic> json) {
  return ResourceNotFoundException(
    code: json['code'] as int?,
    message: json['message'] as String?,
  );
}