add method

Future<void> add(
  1. String text, {
  2. String cssClass = '',
  3. bool textEditable = false,
})

Add a link flair template to the subreddit.

text is the template's text, cssClass is the template's CSS class, and textEditable specifies if flair text can be edited for each editor.

Implementation

Future<void> add(String text,
        {String cssClass = '', bool textEditable = false}) async =>
    _add(text, cssClass, textEditable, true);