toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final executionRoleArn = this.executionRoleArn;
  final image = this.image;
  final resourceConfiguration = this.resourceConfiguration;
  final variables = this.variables;
  return {
    'executionRoleArn': executionRoleArn,
    'image': image,
    'resourceConfiguration': resourceConfiguration,
    if (variables != null) 'variables': variables,
  };
}