NetworkPayload class
Network payload with platform-specific information
- Annotations
-
- @JsonSerializable.new()
Constructors
- NetworkPayload({AndroidNetworkInfo? androidNetworkInfo, IosNetworkInfo? iosNetworkInfo, String? publicIpAddress, String? userAgent, bool? isConnected, String? timestamp})
-
const
-
NetworkPayload.fromJson(Map<
String, dynamic> json) -
factory
Properties
- androidNetworkInfo → AndroidNetworkInfo?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosNetworkInfo → IosNetworkInfo?
-
final
- isConnected → bool?
-
final
- publicIpAddress → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → String?
-
final
- userAgent → String?
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited