Attachment constructor

Attachment({
  1. String? fileName,
  2. List<int>? bytes,
})

Implementation

factory Attachment({
  $core.String? fileName,
  $core.List<$core.int>? bytes,
}) {
  final $result = create();
  if (fileName != null) {
    $result.fileName = fileName;
  }
  if (bytes != null) {
    $result.bytes = bytes;
  }
  return $result;
}