CSSPositionFallbackRule.fromJson constructor

CSSPositionFallbackRule.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CSSPositionFallbackRule.fromJson(Map<String, dynamic> json) {
  return CSSPositionFallbackRule(
    name: Value.fromJson(json['name'] as Map<String, dynamic>),
    tryRules: (json['tryRules'] as List)
        .map((e) => CSSTryRule.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}