PropertyKeys.fromJson constructor

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

Implementation

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