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
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