GithubReactionValue class abstract
Model for managing Github reactions.
Githubのリアクションを管理するためのモデル。
- Available extensions
- Annotations
-
- @freezed
- @formValue
- @immutable
Constructors
- GithubReactionValue({int? plusOne, int? minusOne, int? confused, int? eyes, int? heart, int? hooray, int? laugh, int? rocket, @Default.new(0) int totalCount, ModelUri? url})
-
Model for managing Github reactions.
constfactory
-
GithubReactionValue.fromJson(Map<
String, Object?> json) -
Convert from JSON.
factory
Properties
- confused → int?
-
no setterinherited
-
copyWith
→ $GithubReactionValueCopyWith<
GithubReactionValue> -
Create a copy of GithubReactionValue
with the given fields replaced by the non-null parameter values.
no setterinherited
- eyes → int?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- heart → int?
-
no setterinherited
- hooray → int?
-
no setterinherited
- laugh → int?
-
no setterinherited
- minusOne → int?
-
no setterinherited
- plusOne → int?
-
no setterinherited
- rocket → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalCount → int
-
no setterinherited
- url → ModelUri?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_GithubReactionValue value)) → TResult -
Available on GithubReactionValue, provided by the GithubReactionValuePatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_GithubReactionValue value)?) → TResult? -
Available on GithubReactionValue, provided by the GithubReactionValuePatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_GithubReactionValue value)?, {required TResult orElse()}) → TResult -
Available on GithubReactionValue, provided by the GithubReactionValuePatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(int? plusOne, int? minusOne, int? confused, int? eyes, int? heart, int? hooray, int? laugh, int? rocket, int totalCount, ModelUri? url)?, {required TResult orElse()}) → TResult -
Available on GithubReactionValue, provided by the GithubReactionValuePatterns 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 GithubReactionValue to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(int? plusOne, int? minusOne, int? confused, int? eyes, int? heart, int? hooray, int? laugh, int? rocket, int totalCount, ModelUri? url)) → TResult -
Available on GithubReactionValue, provided by the GithubReactionValuePatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(int? plusOne, int? minusOne, int? confused, int? eyes, int? heart, int? hooray, int? laugh, int? rocket, int totalCount, ModelUri? url)?) → TResult? -
Available on GithubReactionValue, provided by the GithubReactionValuePatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- form → const _$GithubReactionValueFormQuery
- Query for form value.