PressureMetadata.fromJson constructor

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

Implementation

factory PressureMetadata.fromJson(Map<String, dynamic> json) {
  return PressureMetadata(
    available:
        json.containsKey('available') ? json['available'] as bool : null,
  );
}