Attachment constructor

Attachment(
  1. {String type,
  2. Payload payload}
)

Implementation

Attachment({this.type, this.payload});