livePostLiveEdit static method

Future<DataResult> livePostLiveEdit({
  1. required String language,
  2. required String liveNotice,
  3. required int liveId,
  4. required int roomId,
  5. required String title,
  6. required int videoPrice,
  7. required int price,
  8. required int voicePrice,
})

Implementation

static Future<DataResult> livePostLiveEdit(
    {required String language,
    required String liveNotice,
    required int liveId,
    required int roomId,
    required String title,
    required int videoPrice,
    required int price,
    required int voicePrice}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {
      'language': language,
      'liveNotice': liveNotice,
      'liveId': liveId,
      'roomId': roomId,
      'title': title,
      'videoPrice': videoPrice,
      'price': price,
      'voicePrice': voicePrice
    },
    Address.livePostLiveEdit(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}