SMS class

Constructors

SMS({required String body, required String sender, required DateTime timeReceived})
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
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → String
Senders contact
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