DeviceInformation.fromJson constructor

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

Alternate constructor that creates a DeviceInformation from a json.

Params:

  • json: contains the source for instance creation.

Implementation

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