toMap method

Map<String, dynamic> toMap()

Returns map of item

Implementation

Map<String, dynamic> toMap() {
  final map = <String, dynamic>{};
  map['guid'] = guid;
  map['name'] = name;
  map['icon'] = icon;
  map['description'] = description;
  map['membersCount'] = membersCount;
  map['metadata'] = metadata;
  map['joinedAt'] = joinedAt;
  map['hasJoined'] = hasJoined;
  map['createdAt'] = createdAt;
  map['owner'] = owner;
  map['updatedAt'] = updatedAt;
  map['tags'] = tags;
  map['type'] = type;
  map['scope'] = scope;
  map['password'] = password;
  return map;
}