immutableData method

List<Object> immutableData(
  1. MP m
)

Implementation

List<Object> immutableData(MP m) => [
      ...attributes
          .where((a) =>
              a.isImmutable &&
              !(a.name == 'created_at' && (m['kind'] ?? 0) > 0))
          .map(
            (a) => (switch (m[a.name]) {
              EventsCtrl c => c.name,
              EventFractal f => f.hash,
              Object o => o,
              null => '',
            }),
          ),
    ];