NavigateResult.fromJson constructor
Implementation
factory NavigateResult.fromJson(Map<String, dynamic> json) {
return NavigateResult(
frameId: FrameId.fromJson(json['frameId'] as String),
loaderId:
json.containsKey('loaderId')
? network.LoaderId.fromJson(json['loaderId'] as String)
: null,
errorText:
json.containsKey('errorText') ? json['errorText'] as String : null,
);
}