DeviceBoundSessionUrlRule.fromJson constructor

DeviceBoundSessionUrlRule.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DeviceBoundSessionUrlRule.fromJson(Map<String, dynamic> json) {
  return DeviceBoundSessionUrlRule(
    ruleType: DeviceBoundSessionUrlRuleRuleType.fromJson(
      json['ruleType'] as String,
    ),
    hostPattern: json['hostPattern'] as String,
    pathPrefix: json['pathPrefix'] as String,
  );
}