InstantSnapshotResourceStatus.fromJson constructor

InstantSnapshotResourceStatus.fromJson(
  1. Object? j
)

Implementation

factory InstantSnapshotResourceStatus.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return InstantSnapshotResourceStatus(
    storageSizeBytes: switch (json['storageSizeBytes']) {
      null => null,
      Object $1 => decodeInt64($1),
    },
  );
}