addDetail method

void addDetail(
  1. String detail
)

Implementation

void addDetail(String detail) => _details.add(detail);