fromJson static method

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

Implementation

static Status fromJson(Map<String, Object?> json) =>
    Status(Tone.byName(json['tone']! as String), json['message']! as String);