toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() {
  return {
    if (mode.isNotDefault) 'mode': mode.toJson(),
    if (dynamicThreshold != null)
      'dynamicThreshold': encodeDouble(dynamicThreshold),
  };
}