toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (childEvents != null) 'childEvents': childEvents!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (id != null) 'id': id!,
      if (imageUrl != null) 'imageUrl': imageUrl!,
      if (isDefaultImageUrl != null) 'isDefaultImageUrl': isDefaultImageUrl!,
      if (kind != null) 'kind': kind!,
      if (visibility != null) 'visibility': visibility!,
    };