toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final roleArn = this.roleArn;
  final stateMachineName = this.stateMachineName;
  final executionNamePrefix = this.executionNamePrefix;
  return {
    'roleArn': roleArn,
    'stateMachineName': stateMachineName,
    if (executionNamePrefix != null)
      'executionNamePrefix': executionNamePrefix,
  };
}