resolve method
Resolves the value for the given form factor by precedence, defaulting to the current form factor.
Implementation
T resolve([FormFactors? formFactor]) {
switch (formFactor ?? FormFactor.instance.value) {
case FormFactors.mobile:
return mobile;
case FormFactors.tablet:
return tablet;
case FormFactors.desktop:
return desktop;
}
}