Blob constructor

Blob({
  1. Codec? codec,
  2. List<int>? payload,
  3. String? messageType,
})

Implementation

factory Blob({
  Codec? codec,
  $core.List<$core.int>? payload,
  $core.String? messageType,
}) {
  final $result = create();
  if (codec != null) {
    $result.codec = codec;
  }
  if (payload != null) {
    $result.payload = payload;
  }
  if (messageType != null) {
    $result.messageType = messageType;
  }
  return $result;
}