SpecificationList.fromMap constructor

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

Implementation

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