ExceptionEntity.fromJson constructor

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

Implementation

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