asBytesOrNull

Casts this GuardrailImageSource as a Bytes and retrieves its kotlin.ByteArray value. Returns null if the GuardrailImageSource is not a Bytes.