AdError class

Constructors

AdError({required int? code, required String? message})
Creates a new AdError instance
const

Properties

code int?
Gets the error code. Possible error codes:
final
hashCode int
The hash code for this object.
no setterinherited
message String?
Gets an error message. For example "Account not approved yet". See this for explanations of common errors
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.
override

Operators

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

Static Methods

fromJson(dynamic json) AdError
Retrieve an AdError from a json

Constants

timeoutError → const AdError