RegularFile.fromJson constructor

RegularFile.fromJson(
  1. Map _json
)

Implementation

RegularFile.fromJson(core.Map _json)
    : this(
        content: _json.containsKey('content')
            ? FileReference.fromJson(
                _json['content'] as core.Map<core.String, core.dynamic>)
            : null,
        devicePath: _json.containsKey('devicePath')
            ? _json['devicePath'] as core.String
            : null,
      );