toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayHeightMm != null) 'displayHeightMm': displayHeightMm!,
      if (displayName != null) 'displayName': displayName!,
      if (displayWidthMm != null) 'displayWidthMm': displayWidthMm!,
      if (internal != null) 'internal': internal!,
      if (manufactureYear != null) 'manufactureYear': manufactureYear!,
      if (manufacturerId != null) 'manufacturerId': manufacturerId!,
      if (modelId != null) 'modelId': modelId!,
    };