RouteAsPath.fromJson constructor

RouteAsPath.fromJson(
  1. Map json_
)

Implementation

RouteAsPath.fromJson(core.Map json_)
    : this(
        asLists: (json_['asLists'] as core.List?)
            ?.map((value) => value as core.int)
            .toList(),
        pathSegmentType: json_['pathSegmentType'] as core.String?,
      );