SkillGapEntryModel class abstract
- Available extensions
- Annotations
Constructors
- SkillGapEntryModel({required String userId, @Default('Unknown') String displayName, required String skillId, required String skillName, @Default('General') String category, required int expectedMastery, @Default(0.0) double actualMastery, @Default(0.0) double gap})
-
constfactory
-
SkillGapEntryModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- actualMastery → double
-
no setterinherited
- category → String
-
no setterinherited
-
copyWith
→ $SkillGapEntryModelCopyWith<
SkillGapEntryModel> -
Create a copy of SkillGapEntryModel
with the given fields replaced by the non-null parameter values.
no setterinherited
- displayName → String
-
no setterinherited
- expectedMastery → int
-
no setterinherited
- gap → double
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skillId → String
-
no setterinherited
- skillName → String
-
no setterinherited
- userId → String
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_SkillGapEntryModel value)) → TResult -
Available on SkillGapEntryModel, provided by the SkillGapEntryModelPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_SkillGapEntryModel value)?) → TResult? -
Available on SkillGapEntryModel, provided by the SkillGapEntryModelPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_SkillGapEntryModel value)?, {required TResult orElse()}) → TResult -
Available on SkillGapEntryModel, provided by the SkillGapEntryModelPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String userId, String displayName, String skillId, String skillName, String category, int expectedMastery, double actualMastery, double gap)?, {required TResult orElse()}) → TResult -
Available on SkillGapEntryModel, provided by the SkillGapEntryModelPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
) → SkillGapEntry -
toJson(
) → Map< String, dynamic> -
Serializes this SkillGapEntryModel to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String userId, String displayName, String skillId, String skillName, String category, int expectedMastery, double actualMastery, double gap)) → TResult -
Available on SkillGapEntryModel, provided by the SkillGapEntryModelPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String userId, String displayName, String skillId, String skillName, String category, int expectedMastery, double actualMastery, double gap)?) → TResult? -
Available on SkillGapEntryModel, provided by the SkillGapEntryModelPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited