toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final imageUri = this.imageUri;
  final containerArguments = this.containerArguments;
  final containerEntrypoint = this.containerEntrypoint;
  return {
    'ImageUri': imageUri,
    if (containerArguments != null) 'ContainerArguments': containerArguments,
    if (containerEntrypoint != null)
      'ContainerEntrypoint': containerEntrypoint,
  };
}