Media class Null safety

This data class represents the media of a story.

Constructors

Media({required int type, List<StoryComponent?>? storyComponentList, List<String>? actionUrlList, String? actionUrl, String? previewUrl})
Media.fromJson(Map<String, dynamic> json)
factory

Properties

actionUrl String?
URL which the user has just interacted with
final
actionUrlList List<String>?
final
hashCode int
The hash code for this object.
read-onlyinherited
previewUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
storyComponentList List<StoryComponent?>?
final
type int
Type of the story
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