SmsMessage class

SMS Message model

Constructors

SmsMessage({required String phoneNumber, required String message, String id = '', DateTime? timestamp, bool isSent = false, String? error})

Properties

error String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isSent bool
final
message String
final
phoneNumber String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
final

Methods

copyWith({String? id, String? phoneNumber, String? message, DateTime? timestamp, bool? isSent, String? error}) SmsMessage
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