toJson method

Object toJson()

Implementation

Object toJson() => {
      if (mode case final mode?) 'mode': mode.toJson(),
      if (allowedFunctionNames case final allowedFunctionNames?)
        'allowedFunctionNames': allowedFunctionNames.toList(),
    };