isImplementedBy method Null safety

bool isImplementedBy(
  1. ObjectTypeDefinition objectType
)

Implementation

bool isImplementedBy(ObjectTypeDefinition objectType) =>
    objectType.interfaceNames
        .map(
          (name) => name.name,
        )
        .contains(name);