Screenshot.fromJson constructor

Screenshot.fromJson(
  1. Map json_
)

Implementation

Screenshot.fromJson(core.Map json_)
    : this(
        contents: json_.containsKey('contents')
            ? json_['contents'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );