charactersToCopyLeft property

  1. @override
int? get charactersToCopyLeft
override

Number of remaining characters allowed to be copied by the user. If null, there's no limit.

Implementation

@override
int? get charactersToCopyLeft {
  try {
    int? charactersLeft = _licenses.copiesLeft(license.id);
    if (charactersLeft != null) {
      return charactersLeft;
    }
  } on Error catch (error) {
    Fimber.e("ERROR in charactersToCopyLeft", ex: error);
  }
  return null;
}