toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commonUsageWithinTimeRange != null)
        'commonUsageWithinTimeRange': commonUsageWithinTimeRange!,
      if (favoriteCount != null) 'favoriteCount': favoriteCount!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (usageWithinTimeRange != null)
        'usageWithinTimeRange': usageWithinTimeRange!,
    };