SMS class

Constructors

SMS({required String body, required String senderNumber, required DateTime timeReceived, required int slot, required String contactName})
SMS.fromList(List data)
creates an SMS instance from the list of objects received from the broadcast stream of event channel

Properties

body String
The body of the message received
final
contactName String
发件人名称
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderNumber String
Senders contact
final
slot int
卡号
final
timeReceived DateTime
The time when sms is received
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