File.fromJson constructor

File.fromJson(
  1. Map json_
)

Implementation

File.fromJson(core.Map json_)
    : this(
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );