toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (args != null) 'args': args!,
      if (env != null) 'env': env!,
      if (executorImageUri != null) 'executorImageUri': executorImageUri!,
      if (packageUris != null) 'packageUris': packageUris!,
      if (pythonModule != null) 'pythonModule': pythonModule!,
    };