InstantBooking.fromJson constructor

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

Implementation

factory InstantBooking.fromJson(Map<String, dynamic> json) {
  return InstantBooking(
    durationInMinutes: json['DurationInMinutes'] as int?,
    enabled: json['Enabled'] as bool?,
  );
}