decode static method

Implementation

static StartOrUpdateChannelMediaRelayRequest decode(Object result) {
  result as List<Object?>;
  return StartOrUpdateChannelMediaRelayRequest(
    sourceMediaInfo:
        (result[0] as Map<Object?, Object?>?)?.cast<Object?, Object?>(),
    destMediaInfo: (result[1] as Map<Object?, Object?>?)
        ?.cast<Object?, Map<Object?, Object?>?>(),
  );
}