Variable.fromMap constructor

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

Create an instance from a map

Implementation

factory Variable.fromMap(Map<String, dynamic> map) {
  return Variable(
    value: map['value'],
    type: map['type'],
    key: map['key'],
    id: map['id'],
    displayConfiguration: map['displayConfiguration'],
  );
}