toAppTheme method
Convert the theme to a AppTheme object.
Implementation
AppTheme toAppTheme({ThemeData? defaultTheme}) => AppTheme(
id: id,
data: defaultTheme ?? theme(colors),
description: description,
options: NyThemeOptions(colors: colors, meta: meta),
);