ofx 1.0.1 copy "ofx: ^1.0.1" to clipboard
ofx: ^1.0.1 copied to clipboard

convert string ofx (Open Financial Exchange) file to a class

Ofx #

This package converts the string from an ofx (Open Financial Exchange) file into a class.

Initialization #

Import package:ofx/ofx.dart library.

[Ofx] can be called as follows.

import 'package:ofx/ofx.dart';

Future<void> main() {
   File('file.ofx').readAsString().then((String contents) {
      print( Ofx.fromString(contents) );
   });
}

Convert DateTimes between time zones

The conversion to class already converts the DateTime fields to the local time zone.

var ofx = Ofx.fromString('');
ofx.serverLocal;
ofx.startLocal;
ofx.endLocal;

ofx.transactions[index].postedLocal;
1
likes
120
pub points
12%
popularity

Publisher

unverified uploader

convert string ofx (Open Financial Exchange) file to a class

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

xml2json

More

Packages that depend on ofx