OpdsMetadata class

Inheritance
Implemented types
Annotations

Constructors

OpdsMetadata({required LocalizedString localizedTitle, String? identifier, LocalizedString? localizedSubtitle, String? description, int? numberOfItems, int? itemsPerPage, int? currentPage, DateTime? modified, double? position, String? rdfType, Map<String, dynamic> additionalProperties = const {}})
const

Properties

additionalProperties → Map<String, dynamic>
finalinherited
currentPage → int?
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
identifier → String?
final
itemsPerPage → int?
final
localizedSubtitle → LocalizedString?
final
localizedTitle → LocalizedString
final
modified → DateTime?
final
numberOfItems → int?
final
position → double?
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
rdfType → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
subtitle → String?
no setter
title → String
no setter

Methods

copyAdditionalProperties({Object? additionalProperties = unset}) → Map<String, dynamic>
Returns a new Map<String, dynamic> with the merged additional properties.
inherited
copyWith({Object localizedTitle = unset, Object? localizedSubtitle = unset, Object? identifier = unset, Object? description = unset, Object? numberOfItems = unset, Object? itemsPerPage = unset, Object? currentPage = unset, Object? modified = unset, Object? position = unset, Object? rdfType = unset, Object? additionalProperties = unset}) → OpdsMetadata
getAdditionalDateTime(String key) → DateTime?
Helper to get a DateTime from an additional property value.
inherited
getAdditionalEnum<T extends Enum>(String key, List<T> enumValues) → T?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
safeGetAdditionalValue<T>(String key) → T?
Safely get an additional property value of type T.
inherited
toJson() → Map<String, dynamic>
Serializes the object to its JSON representation.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String key) → dynamic
Syntactic sugar to access the additionalProperties values by subscripting directly. obj["layout"] == obj.additionalProperties["layout"]
inherited

Static Methods

fromJson(Map<String, dynamic>? json) → OpdsMetadata?