toJson method
Implementation
Map<String, Object?> toJson() {
final afterLimit = this.afterLimit;
final beforeLimit = this.beforeLimit;
final includeProfile = this.includeProfile;
return {
if (afterLimit != null) 'after_limit': afterLimit,
if (beforeLimit != null) 'before_limit': beforeLimit,
if (includeProfile != null) 'include_profile': includeProfile,
};
}