replyTo property

Message? get replyTo

Implementation

Message? get replyTo {
  try {
    final reference = messageObj['reference'];
    if (reference == null) {
      return null;
    } else {
      return Message.fromJson(jsonDecode(reference));
    }
  } catch (e) {
    return null;
  }
}