toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() =>
    {"hex_bytes": hex_bytes, "curve_type": curve_type}..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);