decode static method

Implementation

static RemoteAudioVolumeIndicationEvent decode(Object result) {
  result as List<Object?>;
  return RemoteAudioVolumeIndicationEvent(
    volumeList: (result[0] as List<Object?>?)?.cast<AudioVolumeInfo?>(),
    totalVolume: result[1]! as int,
  );
}