toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (companionsDisabled != null)
        'companionsDisabled': companionsDisabled!,
      if (enabledSizes != null) 'enabledSizes': enabledSizes!,
      if (imageOnly != null) 'imageOnly': imageOnly!,
      if (kind != null) 'kind': kind!,
    };