core.Map<core.String, core.dynamic> toJson() => { if (totalInternalStorage != null) 'totalInternalStorage': totalInternalStorage!, if (totalRam != null) 'totalRam': totalRam!, };