convert static method
NomoSizingThemeData
convert(
- NomoSizingThemeDataNullable data,
- NomoComponentSizes defaultComponents
Implementation
static NomoSizingThemeData convert(
NomoSizingThemeDataNullable data,
NomoComponentSizes defaultComponents,
) {
return NomoSizingThemeData(
key: data.key,
sizes: data.sizes,
components: defaultComponents.overrideWith(data.components),
);
}