EventSource.fromJson constructor

EventSource.fromJson(
  1. Map json_
)

Implementation

EventSource.fromJson(core.Map json_)
    : this(
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );