toList method

List<Map<String, Object?>> toList()

Transforms the instance into an ordered serializable list.

Implementation

List<Map<String, Object?>> toList() {
  return _modifiers.map((m) => m.toMap()).toList(growable: false);
}