CheckCapacityResponse.fromJson constructor

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

Implementation

factory CheckCapacityResponse.fromJson(Map<String, dynamic> json) {
  return CheckCapacityResponse(
    capacity: json['Capacity'] as int?,
  );
}