committed by
GitHub
parent
14a15dedbe
commit
fda9ecfef7
@@ -405,10 +405,8 @@ String generateType(Map<String, dynamic>? attributes) {
|
||||
switch (attributes['x-flutter-type'] as String?) {
|
||||
case 'icuShortTimePattern':
|
||||
type = 'TimeOfDayFormat';
|
||||
break;
|
||||
case 'scriptCategory':
|
||||
type = 'ScriptCategory';
|
||||
break;
|
||||
}
|
||||
}
|
||||
return type + (optional ? '?' : '');
|
||||
|
||||
Reference in New Issue
Block a user