insert method

  1. @override
Future insert([
  1. Map<String, dynamic>? x
])
override

Implementation

@override
Future insert([Map<String, dynamic>? x]) async {
  x ??= {};
  await tpagoList.start();
  x['detail'] = {
    'fpago': tpagoList
        .map((tpago) => {
              'fpago': tpago.id.value,
              'tipo': tpago.tipo.value,
              'descrip': tpago.display.value,
              'cuenta': tpago.cuenta.value,
            })
        .toList()
  };
  super.insert(x);
}