// To parse this JSON data, do
//
//     final accountStatment = accountStatmentFromJson(jsonString);

import 'dart:convert';

List<AccountStatementModel> accountStatmentFromJson(String str) =>
    List<AccountStatementModel>.from(
        json.decode(str).map((x) => AccountStatementModel.fromJson(x)));

class AccountStatementModel {
  final String? tranId;
  final String? sgtGntrCreatedAt;
  final String? sgtGntrNarration;
  final String? sgtGntrvaluedate;
  final String? deposit;
  final String? withdrawal;
  final String? status;
  final String? sgtGntramt;

  AccountStatementModel({
    this.tranId,
    this.sgtGntrCreatedAt,
    this.sgtGntrNarration,
    this.sgtGntrvaluedate,
    this.deposit,
    this.withdrawal,
    this.status,
    this.sgtGntramt,
  });

  factory AccountStatementModel.fromJson(Map<String, dynamic> json) =>
      AccountStatementModel(
        tranId: json["tranID"],
        sgtGntrCreatedAt: json["sgtGntrCreatedAt"],
        sgtGntrNarration: json["sgtGntrNarration"],
        sgtGntrvaluedate: json["sgtGntrvaluedate"],
        deposit: json["deposit"],
        withdrawal: json["withdrawal"],
        status: json["status"],
        sgtGntramt: json["sgtGntramt"],
      );
}
