fromJson static method

DVHostEntry fromJson(
  1. Map<Object?, Object?> json
)

Implementation

static DVHostEntry fromJson(Map<Object?, Object?> json) => DVHostEntry(
  pattern: '${json['pattern']}',
  siteUrl: '${json['siteUrl']}',
  mount: json['mount'] is String ? json['mount']! as String : '/',
  name: json['name'] as String?,
  description: json['description'] as String?,
);