NotificationActionInput class

Represents an input field for a notification action.

Constructors

NotificationActionInput.new({required String id, required String title, String? placeholder, bool multiline = false})
Creates a notification action input.
const
NotificationActionInput.fromMap(Map<String, dynamic> map)
Creates a notification action input from a map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier for the input.
final
multiline bool
Whether the input is multiline.
final
placeholder String?
The placeholder text for the input.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
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
title String
The title of the input.
final

Methods

copyWith({String? id, String? title, String? placeholder, bool? multiline}) NotificationActionInput
Creates a copy of this input with the given fields replaced.
fromJson(String json) NotificationActionInput
Converts the object from a JSON string representation.
inherited
fromMap(Map<String, dynamic> map) NotificationActionInput
Converts the object from a Map representation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts the object to a JSON string representation.
inherited
toMap() Map<String, dynamic>
Converts the BaseDataModel object to a Map representation.
toString() String
A string representation of this object.
inherited

Operators

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