SignedExchangeError.fromJson constructor
Implementation
factory SignedExchangeError.fromJson(Map<String, dynamic> json) {
return SignedExchangeError(
message: json['message'] as String,
signatureIndex: json.containsKey('signatureIndex')
? json['signatureIndex'] as int
: null,
errorField: json.containsKey('errorField')
? SignedExchangeErrorField.fromJson(json['errorField'] as String)
: null,
);
}