factory MapIterationEventDetails.fromJson(Map<String, dynamic> json) { return MapIterationEventDetails( index: json['index'] as int?, name: json['name'] as String?, ); }