fromMap method

  1. @visibleForTesting
CameraPosition fromMap (
  1. dynamic json
)

Implementation

@visibleForTesting
static CameraPosition fromMap(dynamic json) {
  if (json == null) {
    return null;
  }
  return CameraPosition(
    bearing: json['bearing'],
    target: LatLng._fromJson(json['target']),
    tilt: json['tilt'],
    zoom: json['zoom'],
  );
}