toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (deviceCapabilities != null)
        'deviceCapabilities': deviceCapabilities!,
      if (formFactor != null) 'formFactor': formFactor!,
      if (id != null) 'id': id!,
      if (name != null) 'name': name!,
      if (screenDensity != null) 'screenDensity': screenDensity!,
      if (screenX != null) 'screenX': screenX!,
      if (screenY != null) 'screenY': screenY!,
      if (supportedVersionIds != null)
        'supportedVersionIds': supportedVersionIds!,
      if (tags != null) 'tags': tags!,
    };