getLonghandProperties method

Future<List<CSSProperty>> getLonghandProperties(
  1. String shorthandName,
  2. String value
)

Implementation

Future<List<CSSProperty>> getLonghandProperties(
  String shorthandName,
  String value,
) async {
  var result = await _client.send('CSS.getLonghandProperties', {
    'shorthandName': shorthandName,
    'value': value,
  });
  return (result['longhandProperties'] as List)
      .map((e) => CSSProperty.fromJson(e as Map<String, dynamic>))
      .toList();
}