setBackground method

SetonixData setBackground(
  1. String background,
  2. BackgroundDefinition definition
)

Implementation

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