getMediaQueries method

Future<List<CSSMedia>> getMediaQueries()

Returns all media queries parsed by the rendering engine.

Implementation

Future<List<CSSMedia>> getMediaQueries() async {
  var result = await _client.send('CSS.getMediaQueries');
  return (result['medias'] as List)
      .map((e) => CSSMedia.fromJson(e as Map<String, dynamic>))
      .toList();
}