toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final fragmentSelectorType = this.fragmentSelectorType;
  final timestampRange = this.timestampRange;
  return {
    if (fragmentSelectorType != null)
      'FragmentSelectorType': fragmentSelectorType.toValue(),
    if (timestampRange != null) 'TimestampRange': timestampRange,
  };
}