SelectorList.fromJson constructor

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

Implementation

factory SelectorList.fromJson(Map<String, dynamic> json) {
  return SelectorList(
    selectors: (json['selectors'] as List)
        .map((e) => Value.fromJson(e as Map<String, dynamic>))
        .toList(),
    text: json['text'] as String,
  );
}