toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'step': step.wireValue,
  'outcome': outcome.wireValue,
  'paths': paths,
  'message': ?message,
  'code': ?code,
};