SnapshotLimits.fromJson constructor

SnapshotLimits.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SnapshotLimits.fromJson(Map<String, dynamic> json) {
  return SnapshotLimits(
    manualSnapshotsCurrentCount: json['ManualSnapshotsCurrentCount'] as int?,
    manualSnapshotsLimit: json['ManualSnapshotsLimit'] as int?,
    manualSnapshotsLimitReached: json['ManualSnapshotsLimitReached'] as bool?,
  );
}