License.fromJson constructor

License.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory License.fromJson(Map<String, Object?> json) {
  return License(
    applications: (json[r'applications'] as List<Object?>?)
            ?.map((i) => LicensedApplication.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}