save method

  1. @override
bool save(
  1. IInfo? info
)
override

Implementation

@override
bool save(IInfo? info) {
  if (!ChannelPageState.showSystemChannel &&
      ((info as ChannelInfo).type == ChannelInfo.typeSystemReceive ||
          info.type == ChannelInfo.typeSystemSend)) {
    super.save(info);
    return false;
  }
  bool result = super.save(info);
  ApmKitManager.instance
      .getKit<MethodChannelKit>(ApmKitName.kitChannel)
      ?._listener
      ?.call();
  return result;
}