toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (mode.isNotDefault) 'mode': mode.toJson(),
  if (allowedFunctionNames.isNotDefault)
    'allowedFunctionNames': allowedFunctionNames,
};