CommunityItem class

Constructors

CommunityItem.new({int? id, String? name, String? title, String? about, String? description, int? typeId, bool? isNsfw, int? subscribers, int? sumPending, int? numAuthors, int? numPending, List<String>? admins, String? avatarUrl, String? lang, DateTime? createdAt, Map<String, dynamic>? context, int? rank, double? score})
CommunityItem.fromJson(Map<String, dynamic>? json)
factory

Properties

about String?
final
admins List<String>?
final
avatarUrl String?
final
context Map<String, dynamic>?
final
createdAt DateTime?
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
isNsfw bool?
final
lang String?
final
name String?
final
numAuthors int?
final
numPending int?
final
rank int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double?
final
subscribers int?
final
sumPending int?
final
title String?
final
typeId int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJsonStringList(String jsonString) List<CommunityItem>