DatabaseList.fromMap constructor

DatabaseList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DatabaseList.fromMap(Map<String, dynamic> map) {
  return DatabaseList(
    total: map['total'],
    databases:
        List<Database>.from(map['databases'].map((p) => Database.fromMap(p))),
  );
}