getIconTextFit method

Future<IconTextFit?> getIconTextFit()

Scales the icon to fit around the associated text.

Implementation

Future<IconTextFit?> getIconTextFit() => messager
    .getIconTextFit(id)
    .then((value) => value != null ? IconTextFit.values[value] : null);