asPrefixOrNull

Casts this GrpcRouteMetadataMatchMethod as a Prefix and retrieves its kotlin.String value. Returns null if the GrpcRouteMetadataMatchMethod is not a Prefix.