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,
      );