toJson method
Implementation
Map<String, dynamic> toJson() {
final startSelectorType = this.startSelectorType;
final afterFragmentNumber = this.afterFragmentNumber;
final continuationToken = this.continuationToken;
final startTimestamp = this.startTimestamp;
return {
'StartSelectorType': startSelectorType.toValue(),
if (afterFragmentNumber != null)
'AfterFragmentNumber': afterFragmentNumber,
if (continuationToken != null) 'ContinuationToken': continuationToken,
if (startTimestamp != null)
'StartTimestamp': unixTimestampToJson(startTimestamp),
};
}