BinaryData constructor

BinaryData({
  1. List<int>? binary,
  2. BinaryMetadata? metadata,
})

Implementation

factory BinaryData({
  $core.List<$core.int>? binary,
  BinaryMetadata? metadata,
}) {
  final $result = create();
  if (binary != null) {
    $result.binary = binary;
  }
  if (metadata != null) {
    $result.metadata = metadata;
  }
  return $result;
}