OcmAdError class

Why an ad failed to load, render or show.

Annotations

Constructors

OcmAdError({String? code, required String message})
Creates an error with an optional code and a message.
const
OcmAdError.fromMap(Map<Object?, Object?> map)
Creates an error from a platform channel payload.
factory

Properties

code → String?
A machine-readable error code, when the SDK provides one.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
A human-readable description of the error.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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