getCertificate method

Future<List<String>> getCertificate(
  1. String origin
)

Returns the DER-encoded certificate. origin Origin to get certificate for.

Implementation

Future<List<String>> getCertificate(String origin) async {
  var result = await _client.send('Network.getCertificate', {
    'origin': origin,
  });
  return (result['tableNames'] as List).map((e) => e as String).toList();
}