JsonPart class Null safety

Inheritance

Constructors

JsonPart({required String id, required String part, required List<JsonSchema> schema, @JsonExtra() Map<String, dynamic> extra})
const
factory
JsonPart.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$JsonPartCopyWith<_$JsonPart>
read-only
extra Map<String, dynamic>
extra is a map of additional properties.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
id String
id is unself unique identifier for the ArchiveSchemaPart.
read-only
part String
file is path of the ArchiveSchemaPart.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
schema List<JsonSchema>
schema is a list of JsonSchemas.
read-only

Methods

map<TResult extends Object?>({required TResult json(JsonPart value), required TResult zipJson(ZipJsonPart value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? json(JsonPart value)?, TResult? zipJson(ZipJsonPart value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult json(JsonPart value)?, TResult zipJson(ZipJsonPart value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult json(String id, String part, List<JsonSchema> schema, Map<String, dynamic> extra)?, TResult zipJson(String id, String part, List<JsonSchema> schema, Map<String, dynamic> extra)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
read(Map<String, dynamic> json) ArchiveData
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult json(String id, String part, List<JsonSchema> schema, Map<String, dynamic> extra), required TResult zipJson(String id, String part, List<JsonSchema> schema, Map<String, dynamic> extra)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? json(String id, String part, List<JsonSchema> schema, Map<String, dynamic> extra)?, TResult? zipJson(String id, String part, List<JsonSchema> schema, Map<String, dynamic> extra)?}) → TResult?
inherited

Operators

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