toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appliedCapabilities != null)
        'appliedCapabilities': appliedCapabilities!,
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (disableTime != null) 'disableTime': disableTime!,
      if (disabler != null) 'disabler': disabler!,
      if (displayHints != null) 'displayHints': displayHints!,
      if (id != null) 'id': id!,
      if (lifecycle != null) 'lifecycle': lifecycle!,
      if (lockStatus != null) 'lockStatus': lockStatus!,
      if (properties != null) 'properties': properties!,
      if (publishTime != null) 'publishTime': publishTime!,
      if (publisher != null) 'publisher': publisher!,
      if (schemaCapabilities != null)
        'schemaCapabilities': schemaCapabilities!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (updater != null) 'updater': updater!,
    };