DatetimeRange.fromJson constructor

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

Implementation

factory DatetimeRange.fromJson(Map<String, dynamic> json) {
  return DatetimeRange(
    begin: json['Begin'] as String,
    end: json['End'] as String?,
  );
}