StoryGroup class Null safety

This data class represents a story group in the StorylyView.

Constructors

StoryGroup({required String id, required String title, required int index, required bool seen, required String iconUrl, required List<Story> stories, required bool pinned, required int type, String? groupTheme, Map<String, String>? thematicIconUrls, String? coverUrl})
StoryGroup.fromJson(Map<String, dynamic> json)
factory

Properties

coverUrl String?
final
groupTheme String?
final
hashCode int
The hash code for this object.
read-onlyinherited
iconUrl String
iconUrl URL of the story group icon image
final
id String
id ID of the story group
final
index int
index Order index of the story group
final
pinned bool
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
seen bool
seen State of the story group that shows whether all of the stories are seen or not
final
stories List<Story>
stories List of stories in the story group
final
thematicIconUrls Map<String, String>?
final
title String
title Title of the story group
final
type int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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