toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudSqlInstance != null) 'cloudSqlInstance': cloudSqlInstance!,
      if (emptyDir != null) 'emptyDir': emptyDir!,
      if (gcs != null) 'gcs': gcs!,
      if (name != null) 'name': name!,
      if (nfs != null) 'nfs': nfs!,
      if (secret != null) 'secret': secret!,
    };