toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (identityConstraints != null)
        'identityConstraints': identityConstraints!,
      if (labels != null) 'labels': labels!,
      if (maximumLifetime != null) 'maximumLifetime': maximumLifetime!,
      if (name != null) 'name': name!,
      if (passthroughExtensions != null)
        'passthroughExtensions': passthroughExtensions!,
      if (predefinedValues != null) 'predefinedValues': predefinedValues!,
      if (updateTime != null) 'updateTime': updateTime!,
    };