commands property

List<VectorPathCommand> get commands

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

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

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

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