toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "fromCreatedAt": fromCreatedAt?.toIso8601String(),
  "toCreatedAt": toCreatedAt?.toIso8601String(),
  "bucket": bucket,
};