ASN1ObjectIdentifier.fromString constructor

ASN1ObjectIdentifier.fromString(
  1. String input
)

Implementation

factory ASN1ObjectIdentifier.fromString(String input) {
  final components = input.split('.').map<int>((e) => int.parse(e)).toList();
  return ASN1ObjectIdentifier.fromList(components);
}