toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseImage != null) 'baseImage': baseImage!,
      if (cacheImageUri != null) 'cacheImageUri': cacheImageUri!,
      if (enableAutomaticUpdates != null)
        'enableAutomaticUpdates': enableAutomaticUpdates!,
      if (environmentVariables != null)
        'environmentVariables': environmentVariables!,
      if (functionTarget != null) 'functionTarget': functionTarget!,
      if (projectDescriptor != null) 'projectDescriptor': projectDescriptor!,
      if (runtime != null) 'runtime': runtime!,
    };