toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (brand != null) 'brand': brand!,
      if (codename != null) 'codename': codename!,
      if (form != null) 'form': form!,
      if (formFactor != null) 'formFactor': formFactor!,
      if (id != null) 'id': id!,
      if (lowFpsVideoRecording != null)
        'lowFpsVideoRecording': lowFpsVideoRecording!,
      if (manufacturer != null) 'manufacturer': manufacturer!,
      if (name != null) 'name': name!,
      if (screenDensity != null) 'screenDensity': screenDensity!,
      if (screenX != null) 'screenX': screenX!,
      if (screenY != null) 'screenY': screenY!,
      if (supportedAbis != null) 'supportedAbis': supportedAbis!,
      if (supportedVersionIds != null)
        'supportedVersionIds': supportedVersionIds!,
      if (tags != null) 'tags': tags!,
      if (thumbnailUrl != null) 'thumbnailUrl': thumbnailUrl!,
    };