This is duplicated by every child right now. I don't see a reason to not move that into the base class, it's still separate for every different class.
Look for classes/files that have "extends FieldItemBase". Pick one of the definitions, move it into that class and remove it from that and all other child classes.