parse static method

FourdgsAttachment parse(
  1. Uint8List content
)

Implementation

static FourdgsAttachment parse(Uint8List content) {
  final c = FourdgsCursor(content);
  return FourdgsAttachment(
    name: c.string(),
    mediaType: c.string(),
    data: c.blob(),
  );
}