fromMap static method

  1. @visibleForTesting
SnapshotOptions? fromMap(
  1. dynamic json
)

Implementation

@visibleForTesting
static SnapshotOptions? fromMap(dynamic json) {
  if (json == null) {
    return null;
  }
  return SnapshotOptions(
    showBuildings: json['showBuildings'],
    showPointsOfInterest: json['showPointsOfInterest'],
    showAnnotations: json['showAnnotations'],
    showOverlays: json['showOverlays'],
  );
}