FastResponseAdAsset class

A class representing a fast response ad asset with different sizes. This class extends the TModel class.

Inheritance
  • Object
  • TModel
  • FastResponseAdAsset

Constructors

FastResponseAdAsset.new({String? small, String? medium, String? large})
Constructor for creating a FastResponseAdAsset object.
const
FastResponseAdAsset.empty()
Factory constructor to create an empty FastResponseAdAsset object.
factory
FastResponseAdAsset.fromJson(Map<String, dynamic> json)
Factory constructor to create a FastResponseAdAsset object from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
large String?
The URL of the large-sized ad asset.
final
medium String?
The URL of the medium-sized ad asset.
final
props List<Object?>
Provides a list of the FastResponseAdAsset object's properties.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small String?
The URL of the small-sized ad asset.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

assignValue<T>(T? value, {T? defaultValue, bool loose = true}) → T?
inherited
clone() FastResponseAdAsset
Creates a copy of the FastResponseAdAsset object.
override
copyWith({String? small, String? medium, String? large}) FastResponseAdAsset
Creates a new FastResponseAdAsset object by copying the existing object and optionally updating some of its properties.
override
copyWithDefaults() → TModel
inherited
merge(covariant FastResponseAdAsset model) FastResponseAdAsset
Merges the properties of another FastResponseAdAsset model with this one.
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