SchemaIndex.fromJson constructor
Implementation
factory SchemaIndex.fromJson(Map<String, Object?> json) => SchemaIndex(
name: json['name'] as String,
columns: (json['columns'] as List).cast<String>(),
schema: json['schema'] as String?,
tableName: json['tableName'] as String?,
unique: json['unique'] as bool? ?? false,
primary: json['primary'] as bool? ?? false,
method: json['method'] as String?,
whereClause: json['whereClause'] as String?,
type: json['type'] as String?,
sparse: json['sparse'] as bool? ?? false,
);