core.Map<core.String, core.dynamic> toJson() => { if (recordsCount != null) 'recordsCount': recordsCount!, if (userInfo != null) 'userInfo': userInfo!, };