Resource constructor

Resource(
  1. String type,
  2. String id
)

Implementation

Resource(this.type, this.id);