necessary static method

String necessary(
  1. bool necessary
)

Implementation

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