StrictMode.fromJson constructor

StrictMode.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor that creates a StrictMode from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory StrictMode.fromJson(Map<String, dynamic> json) {
  return StrictModeImpl.fromJson(json);
}