ObbyEventServerReply.fromJson constructor

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

Implementation

factory ObbyEventServerReply.fromJson(Map<String, dynamic> json) => ObbyEventServerReply(
  severity: Severity.fromWire(json['severity'] as String),
  command: json['command'] as String,
  code: json['code'] as String,
  context: (json['context'] as List).map((e) => e as String).toList(),
  text: json['text'] as String,
);