Topic class Null safety
Constructors
-
Topic({@JsonString() required String id, @JsonDateTime() required DateTime created, @JsonDateTime() required DateTime updated, required String archiveId, required String name, @JsonExtra() @Default({}) Map<
String, dynamic> extra}) -
constfactory
-
Topic.fromJson(Map<
String, dynamic> data) -
Creates a Topic from Json map
factory
Properties
- archiveId → String
-
read-onlyinherited
-
copyWith
→ $TopicCopyWith<
Topic> -
read-onlyinherited
- created → DateTime
-
read-onlyinherited
-
extra
→ Map<
String, dynamic> -
emailis the email used by the Topic on the App. extra is a map of additional properties.read-onlyinherited - hashCode → int
-
The hash code for this object.
read-onlyinherited
- id → String
-
read-onlyinherited
-
labels
→ List<
String> -
labels is a list of labels assigned to the model.
final
- name → String
-
name is the name used by the Topic on the App.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- updated → DateTime
-
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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