toMap method

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

Implementation

List<Map<String, Object?>> toMap() {
  return commands
      .map((CameraCutoutPathCommand item) => item.toMap())
      .toList();
}