OpenFileDetails.fromJson constructor

OpenFileDetails.fromJson(
  1. Map json_
)

Implementation

OpenFileDetails.fromJson(core.Map json_)
    : this(
        command: json_.containsKey('command')
            ? json_['command'] as core.String
            : null,
        filePath: json_.containsKey('filePath')
            ? json_['filePath'] as core.String
            : null,
        fileType: json_.containsKey('fileType')
            ? json_['fileType'] as core.String
            : null,
        user: json_.containsKey('user') ? json_['user'] as core.String : null,
      );