blob: daa24571318ef1ed2f064654783eac6ec5c2fb34 [file] [log] [blame]
import '../field_type.dart';
class UintFieldType extends FieldType {
UintFieldType()
: super(
'uint',
'CoreUintType',
cppName: 'uint32_t',
);
@override
String get defaultValue => '0';
// We do this to fix up CoreContext.invalidProperyKey
@override
String convertCpp(String value) => value.replaceAll('CoreContext.', 'Core::');
}