toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (associatedData != null) 'associatedData': associatedData!,
      if (hashLengthBytes != null) 'hashLengthBytes': hashLengthBytes!,
      if (hashType != null) 'hashType': hashType!,
      if (iterations != null) 'iterations': iterations!,
      if (memoryCostKib != null) 'memoryCostKib': memoryCostKib!,
      if (parallelism != null) 'parallelism': parallelism!,
      if (version != null) 'version': version!,
    };