toScopes method
scope 문자열 목록 생성
Implementation
List<String> toScopes() {
final scopes = <String>[];
if (profile) {
scopes.add('profile_nickname');
scopes.add('profile_image');
}
if (email) {
scopes.add('account_email');
}
if (phone) {
scopes.add('phone_number');
}
if (birthday) {
scopes.add('birthday');
scopes.add('birthyear');
}
if (gender) {
scopes.add('gender');
}
if (ageRange) {
scopes.add('age_range');
}
if (ci) {
scopes.add('account_ci');
}
return scopes;
}