FastResponseAdRanking class
A class representing Fast Response Ad Ranking.
Extends the TModel
class from the tmodel
package.
- Inheritance
-
- Object
- TModel
- FastResponseAdRanking
Constructors
- FastResponseAdRanking.new({required double value, required int factor})
-
Creates a FastResponseAdRanking instance with the given
value
andfactor
.const -
FastResponseAdRanking.fromJson(Map<
String, dynamic> json) -
Factory constructor to create a FastResponseAdRanking instance from a
JSON Map. Expects the JSON map to have 'value' and 'factor' fields.
factory
Properties
- factor → int
-
The factor of the ad ranking.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
Returns a list of properties (fields) used to determine the equality of
two FastResponseAdRanking instances.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - value → double
-
The value of the ad ranking.
final
Methods
-
assignValue<
T> (T? value, {T? defaultValue, bool loose = true}) → T? -
inherited
-
clone(
) → FastResponseAdRanking -
Creates a new instance of FastResponseAdRanking with the same value
and factor.
override
-
copyWith(
{double? value, int? factor}) → FastResponseAdRanking -
Creates a new instance of FastResponseAdRanking with optional updates to
value
and/orfactor
.override -
copyWithDefaults(
) → TModel -
inherited
-
merge(
covariant FastResponseAdRanking model) → FastResponseAdRanking -
Merges the current FastResponseAdRanking instance with another
FastResponseAdRanking instance. It updates the value and factor of
the current instance with the values from the
model
instance.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited