CoreEventProperties class sealed
- Available extensions
- Annotations
-
- @freezed
Constructors
-
CoreEventProperties({String? message, String? name, String? method, bool? connected, String? network, String? explorer_id, String? provider, String? platform, List<
String> ? trace, String? topic, int? correlation_id, String? client_id, String? direction, String? userAgent, String? sendToken, String? sendAmount, String? address, String? project_id, String? cursor}) -
constfactory
-
CoreEventProperties.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → String?
-
no setterinherited
- client_id → String?
-
no setterinherited
- connected → bool?
-
no setterinherited
-
copyWith
→ $CoreEventPropertiesCopyWith<
CoreEventProperties> -
Create a copy of CoreEventProperties
with the given fields replaced by the non-null parameter values.
no setterinherited
- correlation_id → int?
-
no setterinherited
- cursor → String?
-
no setterinherited
- direction → String?
-
no setterinherited
- explorer_id → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
no setterinherited
- method → String?
-
no setterinherited
- name → String?
-
no setterinherited
- network → String?
-
no setterinherited
- platform → String?
-
no setterinherited
- project_id → String?
-
no setterinherited
- provider → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendAmount → String?
-
no setterinherited
- sendToken → String?
-
no setterinherited
- topic → String?
-
no setterinherited
-
trace
→ List<
String> ? -
no setterinherited
- userAgent → String?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_CoreEventProperties value)) → TResult -
Available on CoreEventProperties, provided by the CoreEventPropertiesPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_CoreEventProperties value)?) → TResult? -
Available on CoreEventProperties, provided by the CoreEventPropertiesPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_CoreEventProperties value)?, {required TResult orElse()}) → TResult -
Available on CoreEventProperties, provided by the CoreEventPropertiesPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(String? message, String? name, String? method, bool? connected, String? network, String? explorer_id, String? provider, String? platform, List< String> ? trace, String? topic, int? correlation_id, String? client_id, String? direction, String? userAgent, String? sendToken, String? sendAmount, String? address, String? project_id, String? cursor)?, {required TResult orElse()}) → TResult -
Available on CoreEventProperties, provided by the CoreEventPropertiesPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this CoreEventProperties to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String? message, String? name, String? method, bool? connected, String? network, String? explorer_id, String? provider, String? platform, List< String> ? trace, String? topic, int? correlation_id, String? client_id, String? direction, String? userAgent, String? sendToken, String? sendAmount, String? address, String? project_id, String? cursor)) → TResult -
Available on CoreEventProperties, provided by the CoreEventPropertiesPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String? message, String? name, String? method, bool? connected, String? network, String? explorer_id, String? provider, String? platform, List< String> ? trace, String? topic, int? correlation_id, String? client_id, String? direction, String? userAgent, String? sendToken, String? sendAmount, String? address, String? project_id, String? cursor)?) → TResult? -
Available on CoreEventProperties, provided by the CoreEventPropertiesPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited