DeploymentList.fromMap constructor

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

Implementation

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