toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (defaultEnvironment != null)
        'defaultEnvironment': defaultEnvironment!,
      if (image != null) 'image': image!,
      if (metadata != null) 'metadata': metadata!,
      if (sdkInfo != null) 'sdkInfo': sdkInfo!,
    };