necessary static method

String necessary(
  1. bool isNecessary
)

Implementation

static String necessary(bool isNecessary) {
  return isNecessary
      ? dictionary['necessaryTrue']
      : dictionary['necessaryFalse'];
}