ListStateMachinesOutput.fromJson constructor

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

Implementation

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