ArchiveData class Null safety

ArchiveData is used to

Annotations

Constructors

ArchiveData({required String id, required String archiveId, @Default([]) List<Account> accounts, @Default([]) List<App> apps, @Default([]) List<Topic> topics, @Default([]) List<Activity> activities, @JsonExtra() @Default({}) Map<String, dynamic> extra})
ArchiveData is used to
const
factory
ArchiveData.fromJson(Map<String, dynamic> json)
Creates a Archive from Json map
factory

Properties

accounts List<Account>
formatId is the id for the related ArchiveFormat.
read-onlyinherited
activities List<Activity>
read-onlyinherited
apps List<App>
read-onlyinherited
archiveId String
formatId is the id for the related ArchiveFormat.
read-onlyinherited
copyWith → $ArchiveDataCopyWith<ArchiveData>
read-onlyinherited
extra Map<String, dynamic>
extra is a map of additional properties.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
id String
id is unself unique identifier for the Archive.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
topics List<Topic>
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

Constants

fieldMap → const Map<String, String>
fields is a list of all the fields in the Archive class.
_$$_ArchiveFieldMap