isPreferred method

bool isPreferred(
  1. dynamic key
)

Implementation

bool isPreferred(dynamic key) => preferredTheme == Parse.name(key);