toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => {
      'mission_id': missionId,
      'step_index': stepIndex,
      'action': action,
      'match_source': matchSource,
      'runner_up_ratio': runnerUpRatio,
      'winner_stable_id': winnerStableId,
      'runner_up_stable_id': runnerUpStableId,
      if (screen != null) 'screen': screen,
      if (targetText != null) 'target_text': targetText,
    };