fromJson static method
Implementation
static SegmentResult? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return SegmentResult(
id: json['id'],
startTime: json['start_time'],
endTime: json['end_time'],
title: json['title'],
canceledUntil: json['canceled_until'],
category: json['category'],
);
}