factory BufferingHints.fromJson(Map<String, dynamic> json) { return BufferingHints( intervalInSeconds: json['IntervalInSeconds'] as int?, sizeInMBs: json['SizeInMBs'] as int?, ); }