LogTarget.fromJson constructor

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

Implementation

factory LogTarget.fromJson(Map<String, dynamic> json) {
  return LogTarget(
    targetType: (json['targetType'] as String).toLogTargetType(),
    targetName: json['targetName'] as String?,
  );
}