fromValidated static method
Implementation
static ZapError fromValidated(Map<String, Object?> json) => ZapError(
id: json['id'] as String,
ts: json['ts'] as String,
code: json['code'] as String,
message: json['message'] as String,
inReplyTo: json['inReplyTo'] as String?,
details: [for (final d in (json['details'] as List?) ?? []) d as String],
);