fromString static method

ConfigParams fromString(
  1. String line
)
override

Creates a new ConfigParams object filled with key-value pairs serialized as a string.

  • line a string with serialized key-value pairs as 'key1=value1;key2=value2;...' Example: 'Key1=123;Key2=ABC;Key3=2016-09-16T00:00:00.00Z' Returns a new ConfigParams object.

See StringValueMap.fromString

Implementation

static ConfigParams fromString(String line) {
  var map = StringValueMap.fromString(line);
  return ConfigParams(map);
}