backgrounds property

List<Background> get backgrounds

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

List<Background> get backgrounds {
  try {
    if (rawData["backgrounds"] is List == false) {
      return [];
    }
    return (rawData["backgrounds"] as List).map((e) => Background(e as Map)).toList().cast<Background>();
  } catch (e) {
    return [];
  }
}
set backgrounds (List<Background> values)

Generate By General Universe Script Dont edit by hand or anything manual

Implementation

set backgrounds(List<Background> values) {
  rawData["backgrounds"] = values.map((value) => value.toJson()).toList();
}