PutEventSelectorsResponse.fromJson constructor
PutEventSelectorsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PutEventSelectorsResponse.fromJson(Map<String, dynamic> json) {
return PutEventSelectorsResponse(
advancedEventSelectors: (json['AdvancedEventSelectors'] as List?)
?.whereNotNull()
.map((e) => AdvancedEventSelector.fromJson(e as Map<String, dynamic>))
.toList(),
eventSelectors: (json['EventSelectors'] as List?)
?.whereNotNull()
.map((e) => EventSelector.fromJson(e as Map<String, dynamic>))
.toList(),
trailARN: json['TrailARN'] as String?,
);
}