factory UpdateAvatar({ $core.List<$core.int>? newBytes, }) { final $result = create(); if (newBytes != null) { $result.newBytes = newBytes; } return $result; }