BridgeResponse.fromJson constructor
Implementation
factory BridgeResponse.fromJson(Map<String, dynamic> json) => BridgeResponse(
id: json['id'].toString(),
result: json['result'],
error: json['error'] != null
? BridgeError.fromJson(json['error'] as Map<String, dynamic>)
: null,
);