VariableList.fromMap constructor

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

Implementation

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