LabelBitmapStyle.fromMap constructor
Implementation
factory LabelBitmapStyle.fromMap(Map<String, dynamic> map) {
return LabelBitmapStyle(
posX: map['posX'],
posY: map['posY'],
algorithm: ImageAlgorithm.values.firstWhere((e) => e.toString() == 'ImageAlgorithm.${map['algorithm']}'),
value: map['value'],
width: map['width'],
height: map['height'],
);
}