Custom constructor

const Custom(
  1. String path, {
  2. required String methodName,
})

Implementation

const Custom(this.path, {required this.methodName});