UniqueIndex.fromJson constructor

UniqueIndex.fromJson(
  1. Map json
)

Implementation

factory UniqueIndex.fromJson(Map json) {
  return UniqueIndex(
    name: json['name'],
    fields: (json['fields'] as Iterable).cast(),
  );
}