templates property

List<TemplateData> get templates

Implementation

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