toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (name != null) 'name': name!,
      if (namespacedName != null) 'namespacedName': namespacedName!,
      if (parent != null) 'parent': parent!,
      if (purpose != null) 'purpose': purpose!,
      if (purposeData != null) 'purposeData': purposeData!,
      if (shortName != null) 'shortName': shortName!,
      if (updateTime != null) 'updateTime': updateTime!,
    };