NmModem class

A GSM/UMTS modem (dongle / board).

Annotations

Constructors

NmModem({required String id, String? imei, String? model, String? port, int channels = 1, List<NmSimCard> sims = const [], bool online = true})
Creates an NmModem.
const

Properties

channels → int
Number of SIM channels.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable id.
final
imei → String?
IMEI, model name and serial port, when known.
final
model → String?
IMEI, model name and serial port, when known.
final
online → bool
Whether the modem responds.
final
port → String?
IMEI, model name and serial port, when known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sims → List<NmSimCard>
SIM cards in the modem.
final

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