RestResource constructor Null safety

RestResource(
  1. {Map<String, RestMethod>? methods,
  2. Map<String, RestResource>? resources}
)

Implementation

RestResource({
  this.methods,
  this.resources,
});