listValues method

Iterable<MapEntry> listValues(
  1. MP map
)

Implementation

Iterable<MapEntry> listValues(MP map) => [
      MapEntry('id', map['id']),
      ...attributes
          .where(
            (a) => !a.skipCreate && map[a.name] != null,
          )
          .map(
            (attr) => MapEntry(
              attr.name,
              map[attr.name],
            ),
          ),
    ];