MessageRead constructor

MessageRead({
  1. String? userId,
  2. Message? message,
  3. Timestamp? readAt,
})

Implementation

factory MessageRead({
  $core.String? userId,
  Message? message,
  $2.Timestamp? readAt,
}) {
  final _result = create();
  if (userId != null) {
    _result.userId = userId;
  }
  if (message != null) {
    _result.message = message;
  }
  if (readAt != null) {
    _result.readAt = readAt;
  }
  return _result;
}