WebhookHeaderInput class abstract
- Available extensions
- Annotations
-
- @unfreezed
Constructors
- WebhookHeaderInput({@Default.new('') String name, @Default.new('') String value})
-
factory
-
WebhookHeaderInput.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
-
copyWith
→ $WebhookHeaderInputCopyWith<
WebhookHeaderInput> -
Create a copy of WebhookHeaderInput
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
Is the key of the header.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String
-
Is the value of the header.
getter/setter pairinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_WebhookHeaderInput value)) → TResult -
Available on WebhookHeaderInput, provided by the WebhookHeaderInputPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_WebhookHeaderInput value)?) → TResult? -
Available on WebhookHeaderInput, provided by the WebhookHeaderInputPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_WebhookHeaderInput value)?, {required TResult orElse()}) → TResult -
Available on WebhookHeaderInput, provided by the WebhookHeaderInputPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String name, String value)?, {required TResult orElse()}) → TResult -
Available on WebhookHeaderInput, provided by the WebhookHeaderInputPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this WebhookHeaderInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String name, String value)) → TResult -
Available on WebhookHeaderInput, provided by the WebhookHeaderInputPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String name, String value)?) → TResult? -
Available on WebhookHeaderInput, provided by the WebhookHeaderInputPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited