ListTriggersResponse.fromJson constructor

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

Implementation

factory ListTriggersResponse.fromJson(Map<String, dynamic> json) {
  return ListTriggersResponse(
    nextToken: json['NextToken'] as String?,
    triggerNames: (json['TriggerNames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}