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_['devicePath'] as core.String?,
    );