possible_types library Null safety

Extensions

PossibleTypes
implementation based on graphql_codegen: https://github.com/heftapp/graphql_codegen/blob/main/packages/graphql_codegen/lib/src/context.dart#L770