createReplySubject method Null safety

String createReplySubject(
  1. String originalSubject,
  2. {String defaultReplyAbbreviation = MailConventions.defaultReplyAbbreviation}
)

Creates a subject based on the originalSubject taking mail conventions into account.

Optionally specify the reply-indicator abbreviation by specifying defaultReplyAbbreviation, which defaults to 'Re'.

Implementation

static String createReplySubject(String originalSubject,
    {String defaultReplyAbbreviation =
        MailConventions.defaultReplyAbbreviation}) {
  return _createSubject(originalSubject, defaultReplyAbbreviation,
      MailConventions.subjectReplyAbbreviations);
}