build method

  1. @override
Map<String, dynamic> build()

Returns built response for api

Implementation

@override
Map<String, dynamic> build() => {
      ...super.build(),
      if (channelTypes != null) 'channel_types': channelTypes!.map((e) => e.value).toList(),
    };