AccountsCreatedRangeQuerySpecs.fromJson constructor

AccountsCreatedRangeQuerySpecs.fromJson(
  1. Object? json
)

Implementation

factory AccountsCreatedRangeQuerySpecs.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountsCreatedRangeQuerySpecs(
    gt: map['gt'] == null ? null : (map['gt'] as num).toInt(),
    gte: map['gte'] == null ? null : (map['gte'] as num).toInt(),
    lt: map['lt'] == null ? null : (map['lt'] as num).toInt(),
    lte: map['lte'] == null ? null : (map['lte'] as num).toInt(),
  );
}