toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (analyticsEnabled != null) 'analyticsEnabled': analyticsEnabled!,
      if (cmekSettings != null) 'cmekSettings': cmekSettings!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (indexConfigs != null) 'indexConfigs': indexConfigs!,
      if (lifecycleState != null) 'lifecycleState': lifecycleState!,
      if (locked != null) 'locked': locked!,
      if (name != null) 'name': name!,
      if (restrictedFields != null) 'restrictedFields': restrictedFields!,
      if (retentionDays != null) 'retentionDays': retentionDays!,
      if (updateTime != null) 'updateTime': updateTime!,
    };