toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (author != null) 'author': author!,
      if (categories != null) 'categories': categories!,
      if (components != null) 'components': components!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (docLink != null) 'docLink': docLink!,
      if (lastUsedTime != null) 'lastUsedTime': lastUsedTime!,
      if (name != null) 'name': name!,
      if (sharedWith != null) 'sharedWith': sharedWith!,
      if (tags != null) 'tags': tags!,
      if (templateBundle != null) 'templateBundle': templateBundle!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (usageCount != null) 'usageCount': usageCount!,
      if (usageInfo != null) 'usageInfo': usageInfo!,
      if (visibility != null) 'visibility': visibility!,
    };