BorrowConfiguration.fromJson constructor

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

Implementation

factory BorrowConfiguration.fromJson(Map<String, dynamic> json) {
  return BorrowConfiguration(
    allowEarlyCheckIn: json['AllowEarlyCheckIn'] as bool,
    maxTimeToLiveInMinutes: json['MaxTimeToLiveInMinutes'] as int,
  );
}