$Script.fromJson constructor

$Script.fromJson(
  1. Map json_
)

Implementation

$Script.fromJson(core.Map json_)
    : this(
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );