ResendApiException.fromJson constructor

ResendApiException.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ResendApiException.fromJson(Map<String, Object?> json) {
  final name = json['name']! as String;
  final message = json['message']! as String;
  final statusCode = json['statusCode']! as int;
  return ResendApiException(
    name,
    message,
    statusCode,
  );
}