Archive constructor Null safety
Archive is a set of data user imported from other apps.
Implementation
const factory Archive({
/// [id] is unself unique identifier for the [Archive].
required String id,
/// [created] is the date and time when the [Archive] was created inside unself app.
required DateTime created,
/// [updated] is the date and time when the [Archive] was last updated inside unself app.
required DateTime updated,
/// [name] is the name of the [Archive].
required String name,
/// [account] is the owner of the [Archive] imported.
required Account account,
required String formatId,
/// [extra] is a map of additional properties.
@JsonExtra() @Default({}) Map<String, dynamic> extra,
}) = _Archive;