UshortField constructor

UshortField(
  1. String key,
  2. FieldType type,
  3. String? name,
  4. int addr,
  5. int size, {
  6. String? tag,
  7. List? selection,
})

Implementation

UshortField(String key, FieldType type, String? name, int addr,int size,
    {String? tag, List? selection})
    :super(key,type,name,addr,size){
  if (1 != size) throw Exception("The short type's size should be 1 in the json.");
}