SegmentData constructor

SegmentData({
  1. required String name,
  2. Map<String, List<String>>? queryParams,
  3. Map<Object, Object?>? state,
})

Implementation

SegmentData({
  required this.name,
  final Map<String, List<String>>? queryParams,
  final Map<Object, Object?>? state,
})  : queryParams = queryParams ?? {},
      state = state ?? {};