Environment.fromJson constructor

Environment.fromJson(
  1. Map json_
)

Implementation

Environment.fromJson(core.Map json_)
    : this(
        androidDevice: json_.containsKey('androidDevice')
            ? AndroidDevice.fromJson(
                json_['androidDevice'] as core.Map<core.String, core.dynamic>)
            : null,
        iosDevice: json_.containsKey('iosDevice')
            ? IosDevice.fromJson(
                json_['iosDevice'] as core.Map<core.String, core.dynamic>)
            : null,
      );