TaskLinks.fromJson constructor

TaskLinks.fromJson(
  1. Map json_
)

Implementation

TaskLinks.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        link: json_.containsKey('link') ? json_['link'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );