Source.fromJson constructor

Source.fromJson(
  1. Map json_
)

Implementation

Source.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        predefinedSource: json_.containsKey('predefinedSource')
            ? json_['predefinedSource'] as core.String
            : null,
      );