toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (args != null) 'args': args!,
      if (function != null) 'function': function!,
      if (result != null) 'result': result!,
    };