MigrationList.fromMap constructor
Implementation
factory MigrationList.fromMap(
Map<String, dynamic> map,
) {
map = {
'total': 0,
'migrations': [],
...map,
};
return MigrationList(
total: map['total'],
migrations: List<Migration>.from(
map['migrations'].map((p) => Migration.fromMap(p)),
),
);
}