setBackground method
- String background,
- BackgroundDefinition definition
Implementation
SetonixData setBackground(
String background,
BackgroundDefinition definition,
) => setAsset(
'$kPackBackgroundsPath/$background.json',
utf8.encode(definition.toJson()),
);