LCOV - code coverage report
Current view: top level - lib/src/models - vendor.dart (source / functions) Coverage Total Hit
Test: lcov.info Lines: 100.0 % 3 3
Test Date: 2026-11-15 16:52:47 Functions: - 0 0

            Line data    Source code
       1              : import 'package:json_annotation/json_annotation.dart';
       2              : 
       3              : part 'vendor.g.dart';
       4              : 
       5              : /// Gives vendor details matching as prefix of mac address.
       6              : @JsonSerializable()
       7              : class Vendor {
       8            3 :   Vendor({
       9              :     required this.macPrefix,
      10              :     required this.vendorName,
      11              :     required this.private,
      12              :     required this.blockType,
      13              :     required this.lastUpdate,
      14              :   });
      15              : 
      16            2 :   factory Vendor.fromJson(Map<String, dynamic> json) => _$VendorFromJson(json);
      17              : 
      18            2 :   Map<String, dynamic> toJson() => _$VendorToJson(this);
      19              : 
      20              :   final String macPrefix;
      21              :   final String vendorName;
      22              :   final String private;
      23              :   final String blockType;
      24              :   final String lastUpdate;
      25              : }
        

Generated by: LCOV version 2.0-1