toJson method
Implementation
Map<String, dynamic> toJson() {
final fromInclusive = this.fromInclusive;
final toExclusive = this.toExclusive;
return {
if (fromInclusive != null)
'FromInclusive': unixTimestampToJson(fromInclusive),
if (toExclusive != null) 'ToExclusive': unixTimestampToJson(toExclusive),
};
}