fromMap static method

MyLocationStyleOptions? fromMap(
  1. dynamic json
)

Implementation

static MyLocationStyleOptions? fromMap(dynamic json) {
  if (null == json) {
    return null;
  }
  return MyLocationStyleOptions(
    json['enabled'] ?? false,
    circleFillColor: json['circleFillColor'] ?? null,
    circleStrokeColor: json['circleStrokeColor'] ?? null,
    circleStrokeWidth: json['circleStrokeWidth'] ?? null,
    icon: json['icon'] ?? null,
  );
}