MagicAdObject class abstract

Base handle returned by every load call.

Managers only create these handles. Showing, readiness checks, video controls, embedded PlatformViews, and destroy calls should all target the returned object so multiple loads of the same placement do not collide.

Implementers

Constructors

MagicAdObject({required String placementID, required String objectID})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isValid bool
no setter
objectID String
final
placementID String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future<String?>
getPrice() Future<int?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ready() Future<bool?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited