CustomerArtifactPaths.fromJson constructor
CustomerArtifactPaths.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CustomerArtifactPaths.fromJson(Map<String, dynamic> json) {
return CustomerArtifactPaths(
androidPaths: (json['androidPaths'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
deviceHostPaths: (json['deviceHostPaths'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
iosPaths: (json['iosPaths'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}