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