NetworkInfo constructor
Implementation
factory NetworkInfo({
$core.String? type,
$core.String? ssid,
$core.String? security,
$core.int? signal,
$core.bool? connected,
$core.String? lastError,
}) {
final $result = create();
if (type != null) {
$result.type = type;
}
if (ssid != null) {
$result.ssid = ssid;
}
if (security != null) {
$result.security = security;
}
if (signal != null) {
$result.signal = signal;
}
if (connected != null) {
$result.connected = connected;
}
if (lastError != null) {
$result.lastError = lastError;
}
return $result;
}