toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (items != null)
        'items': items!.map((key, item) => core.MapEntry(key, item.toJson())),
      if (name != null) 'name': name!,
      if (osInfo != null) 'osInfo': osInfo!.toJson(),
      if (updateTime != null) 'updateTime': updateTime!,
    };