toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'breakMode': breakMode,
      if (path != null) 'path': path,
    };