getOriginTrials method
Get Origin Trials on given frame.
Implementation
Future<List<OriginTrial>> getOriginTrials(FrameId frameId) async {
var result = await _client.send('Page.getOriginTrials', {
'frameId': frameId,
});
return (result['originTrials'] as List)
.map((e) => OriginTrial.fromJson(e as Map<String, dynamic>))
.toList();
}