RPStep constructor Null safety

RPStep(
  1. {required String identifier,
  2. required String title,
  3. String? text,
  4. bool optional = false}
)

Create a step object with the given title. Different types of Steps are using the title text differently.

Implementation

RPStep(
    {required this.identifier,
    required this.title,
    this.text,
    this.optional = false});