PangleResult class
插件返回的结果
Constructors
- PangleResult({int? code, String? message, bool? verify})
-
const
-
PangleResult.fromJson(Map<
String, dynamic> ? json) -
解析插件返回的结果
factory
Properties
- code → int?
-
结果码
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVerify → bool
-
是否验证成功
no setter
- message → String?
-
一般是错误信息
final
- ok → bool
-
是否成功
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verify → bool?
-
适用于需要验证结果的广告,目前仅激励视频有返回
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited