FileLocation.fromJson constructor

FileLocation.fromJson(
  1. Map json_
)

Implementation

FileLocation.fromJson(core.Map json_)
    : this(
        filePath: json_['filePath'] as core.String?,
        layerDetails: json_.containsKey('layerDetails')
            ? LayerDetails.fromJson(
                json_['layerDetails'] as core.Map<core.String, core.dynamic>)
            : null,
      );