import DecodedInformation from './DecodedInformation' ; export default class BlockParsedResult { private readonly decodedInformation : DecodedInformation ; private readonly finished : boolean ; constructor ( finished , decodedInformation ? ) { if ( decodedInformation ) { this . decodedInformation = null ; } else { this . finished = finished ; this . decodedInformation = decodedInformation ; } } getDecodedInformation ( ) { return this . decodedInformation ; } isFinished ( ) { return this . finished ; } }