DeviceMetadata.fromJson constructor

DeviceMetadata.fromJson(
  1. Map json_
)

Implementation

DeviceMetadata.fromJson(core.Map json_)
    : this(
        entries: json_.containsKey('entries')
            ? (json_['entries'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );