blogs property

List<BlogsData> get blogs

Implementation

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

Implementation

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