CommunitySafe class

Annotations
  • @freezed

Constructors

CommunitySafe({required int id, required String name, required String title, String? description, required bool removed, required DateTime published, DateTime? updated, required bool deleted, required bool nsfw, required String actorId, required bool local, String? icon, String? banner, required String instanceHost})
const
factory
CommunitySafe.fromJson(Map<String, dynamic> json)
factory

Properties

actorId String
no setterinherited
no setterinherited
copyWith → $CommunitySafeCopyWith<CommunitySafe>
no setterinherited
deleted bool
no setterinherited
description String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon String?
no setterinherited
id int
no setterinherited
instanceHost String
no setterinherited
local bool
no setterinherited
name String
no setterinherited
nsfw bool
no setterinherited
published DateTime
no setterinherited
removed bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
no setterinherited
updated DateTime?
no setterinherited

Methods

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

Operators

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