BMFInfoWindow.fromMap constructor

BMFInfoWindow.fromMap(
  1. Map map
)

map => BMFInfoWindow

Implementation

BMFInfoWindow.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFInfoWindow,The parameter map cannot be null') {
  _id = map['id'];
  image = map['image'];
  coordinate = map['coordinate'] == null
      ? null
      : BMFCoordinate.fromMap(map['coordinate']);
  yOffset = map['yOffset'];
  isAddWithBitmap = map['isAddWithBitmapDescriptor'];
}