AttemptError.fromJson constructor

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

Implementation

factory AttemptError.fromJson(Map<String, Object?> json) =>
    AttemptError(message: json["message"] as String);