getIdString static method

String getIdString({
  1. required String id,
  2. required String testId,
  3. bool isTest = true,
})

Implementation

static String getIdString({required String id, required String testId, bool isTest = true}) {
  return isTest ? testId : id;
}