BarcodeCalenderEvent.fromJson constructor

BarcodeCalenderEvent.fromJson(
  1. Map json
)

Returns an instance of BarcodeCalenderEvent from a given json.

Implementation

factory BarcodeCalenderEvent.fromJson(Map<dynamic, dynamic> json) =>
    BarcodeCalenderEvent(
      description: json['description'],
      location: json['location'],
      status: json['status'],
      summary: json['summary'],
      organizer: json['organizer'],
      start: _getDateTime(json['start']),
      end: _getDateTime(json['end']),
    );