LicenseCodeLicenseAlias.fromJson constructor

LicenseCodeLicenseAlias.fromJson(
  1. Object? j
)

Implementation

factory LicenseCodeLicenseAlias.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return LicenseCodeLicenseAlias(
    description: switch (json['description']) {
      null => null,
      Object $1 => decodeString($1),
    },
    selfLink: switch (json['selfLink']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}