Question<V>.withId constructor

Question<V>.withId(
  1. String type
)

Implementation

Question.withId(this.type) : id = const Uuid().v4();