toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (channel != null) 'channel': channel!,
      if (emulatedFormFactor != null)
        'emulatedFormFactor': emulatedFormFactor!,
      if (formFactor != null) 'formFactor': formFactor!,
      if (locale != null) 'locale': locale!,
      if (onlyCategories != null) 'onlyCategories': onlyCategories!,
    };