toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appliedCapabilities != null)
        'appliedCapabilities': appliedCapabilities!,
      if (appliedLabelPolicy != null)
        'appliedLabelPolicy': appliedLabelPolicy!,
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (customer != null) 'customer': customer!,
      if (disableTime != null) 'disableTime': disableTime!,
      if (disabler != null) 'disabler': disabler!,
      if (displayHints != null) 'displayHints': displayHints!,
      if (fields != null) 'fields': fields!,
      if (id != null) 'id': id!,
      if (labelType != null) 'labelType': labelType!,
      if (learnMoreUri != null) 'learnMoreUri': learnMoreUri!,
      if (lifecycle != null) 'lifecycle': lifecycle!,
      if (lockStatus != null) 'lockStatus': lockStatus!,
      if (name != null) 'name': name!,
      if (properties != null) 'properties': properties!,
      if (publishTime != null) 'publishTime': publishTime!,
      if (publisher != null) 'publisher': publisher!,
      if (revisionCreateTime != null)
        'revisionCreateTime': revisionCreateTime!,
      if (revisionCreator != null) 'revisionCreator': revisionCreator!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (schemaCapabilities != null)
        'schemaCapabilities': schemaCapabilities!,
    };