DocumentLinkeable class abstract

Implemented types

Constructors

DocumentLinkeable({@JsonKey(name: 'type') required String documentType, required List<String> tags, required String id, required String lang, required String slug, required bool isBroken})
const
factory
DocumentLinkeable.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$DocumentLinkeableCopyWith<_$DocumentLinkeable>
no setter
documentType String
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
isBroken bool
no setter
lang String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
no setter
tags List<String>
no setter

Methods

map<TResult extends Object?>({required TResult document(DocumentLinkeable value), required TResult media(MediaLinkeable value), required TResult web(WebLinkeable value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult document(DocumentLinkeable value)?, TResult media(MediaLinkeable value)?, TResult web(WebLinkeable value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult document(DocumentLinkeable value)?, TResult media(MediaLinkeable value)?, TResult web(WebLinkeable value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult document(String documentType, List<String> tags, String id, String lang, String slug, bool isBroken)?, TResult media(String? height, String? width, String? kind, String? name, String? size, String? url)?, TResult web(String url)?, required TResult orElse()}) → TResult
inherited
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
when<TResult extends Object?>({required TResult document(String documentType, List<String> tags, String id, String lang, String slug, bool isBroken), required TResult media(String? height, String? width, String? kind, String? name, String? size, String? url), required TResult web(String url)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult document(String documentType, List<String> tags, String id, String lang, String slug, bool isBroken)?, TResult media(String? height, String? width, String? kind, String? name, String? size, String? url)?, TResult web(String url)?}) → TResult?
inherited

Operators

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