SmsMessage constructor

SmsMessage(
  1. String? _address,
  2. String? _body, {
  3. int? id,
  4. int? threadId,
  5. bool? read,
  6. DateTime? date,
  7. DateTime? dateSent,
  8. SmsMessageKind? kind,
})

Implementation

SmsMessage(this._address, this._body, {int? id, int? threadId, bool? read, DateTime? date, DateTime? dateSent, SmsMessageKind? kind}) {
  this._id = id;
  this._threadId = threadId;
  this._read = read;
  this._date = date;
  this._dateSent = dateSent;
  this._kind = kind;
}