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