asBytesOrNull

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