LicenseObject.fromMap constructor

LicenseObject.fromMap(
  1. Map map
)

Creates a LicenseObject from a map.

Implementation

factory LicenseObject.fromMap(Map map) {
  return LicenseObject(name: map['name'], url: map['url']);
}