DeviceContext.fromJson constructor

DeviceContext.fromJson(
  1. Map json_
)

Implementation

DeviceContext.fromJson(core.Map json_)
    : this(
        deviceToken: json_.containsKey('deviceToken')
            ? json_['deviceToken'] as core.String
            : null,
      );