isApplicable method

  1. @override
bool isApplicable(
  1. DogStructure structure,
  2. DogStructureField field
)
override

Implementation

@override
bool isApplicable(DogStructure structure, DogStructureField field) {
  return field.serial.typeArgument == int ||
      field.serial.typeArgument == double;
}