AdvancedEventSelector.fromJson constructor

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

Implementation

factory AdvancedEventSelector.fromJson(Map<String, dynamic> json) {
  return AdvancedEventSelector(
    fieldSelectors: (json['FieldSelectors'] as List)
        .whereNotNull()
        .map((e) => AdvancedFieldSelector.fromJson(e as Map<String, dynamic>))
        .toList(),
    name: json['Name'] as String?,
  );
}