toMap method

Map<String, String> toMap()

Implementation

Map<String, String> toMap() => {
      'name': name,
      'version': version,
    };