toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (isWeakReference != null) 'isWeakReference': isWeakReference!,
      if (key != null) 'key': key!,
      if (list != null) 'list': list!,
      if (map != null) 'map': map!,
      if (type != null) 'type': type!,
      if (value != null) 'value': value!,
    };