toJson static method

String? toJson(
  1. Algorithm? alg
)

Implementation

static String? toJson(Algorithm? alg) => alg?.code;