BookingOptions.fromJson constructor

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

Implementation

factory BookingOptions.fromJson(Map<String, dynamic> json) {
  return BookingOptions(
    autoAcceptRequests: json['AutoAcceptRequests'] as bool?,
    autoDeclineConflictingRequests:
        json['AutoDeclineConflictingRequests'] as bool?,
    autoDeclineRecurringRequests:
        json['AutoDeclineRecurringRequests'] as bool?,
  );
}