Alias.fromJson constructor

Alias.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Alias.fromJson(Map<String, dynamic> json) {
  return Alias(
    lifecycle: (json['Lifecycle'] as String?)?.toAliasLifecycle(),
    name: json['Name'] as String?,
  );
}