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