bots property

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

Implementation

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

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

Implementation

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