toDouble method
Implementation
double toDouble(XSpacesData spaces) {
return switch (this) {
XSpaces.none => spaces.none,
XSpaces.superSmall => spaces.superSmall,
XSpaces.extraSmall => spaces.extraSmall,
XSpaces.small => spaces.small,
XSpaces.semiSmall => spaces.semiSmall,
XSpaces.medium => spaces.medium,
XSpaces.semiLarge => spaces.semiLarge,
XSpaces.large => spaces.large,
XSpaces.extraLarge => spaces.extraLarge,
XSpaces.superLarge => spaces.superLarge,
};
}