toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (attributes != null) 'attributes': attributes,
      if (kind != null) 'kind': kind,
      if (lazy != null) 'lazy': lazy,
      if (visibility != null) 'visibility': visibility,
    };