toJSON property
      
      dynamic Function()
      get
      toJSON
      
    
    
    
Implementation
_i2.dynamic Function() get toJSON => () => _i4.callMethod(
      _i4.getProperty(
        this,
        'toJSON',
      ),
      r'call',
      [this],
    );
      
      set
      toJSON
      (dynamic value()) 
      
    
    
    
Implementation
set toJSON(_i2.dynamic Function() value) {
  _i4.setProperty(
    this,
    'toJSON',
    _i4.allowInterop(value),
  );
}