DependencyDetail.fromJson constructor

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

Implementation

factory DependencyDetail.fromJson(Map<String, dynamic> json) {
  return DependencyDetail(
    type: (json['type'] as String? ?? 'defaultType').toLowerCase(),
    onFId: (json['onFId'] as String? ?? 'defaultOnQid').toLowerCase(),
    value: (json['value'] as String? ?? 'defaultValue').toLowerCase(),
  );
}